awsome 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/awsome/ec2.rb +2 -4
- metadata +1 -1
data/lib/awsome/ec2.rb
CHANGED
@@ -87,10 +87,8 @@ module Awsome
|
|
87
87
|
tags
|
88
88
|
)
|
89
89
|
|
90
|
-
def self.describe_volumes(
|
91
|
-
cmd = [Awsome::Ec2.command('ec2-describe-volumes')]
|
92
|
-
cmd += volume_ids
|
93
|
-
cmd += filters.collect { |k,v| "--filter \"#{k}=#{v}\"" }
|
90
|
+
def self.describe_volumes(*volume_ids)
|
91
|
+
cmd = [Awsome::Ec2.command('ec2-describe-volumes')] + volume_ids
|
94
92
|
Awsome.execute(cmd, columns: @@describe_volumes_fields, filter: /^VOLUME/)
|
95
93
|
end
|
96
94
|
|