cloudstack_client 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloudstack_client/commands/capacity.rb +4 -4
- data/lib/cloudstack_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8562c2cb0af37d2b216bda954ec7e3ab45253d62
|
4
|
+
data.tar.gz: b0b3c13b9981d10eb2560ce5af656a0b0e05da4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca6bfa863bffa4cf837bddd64239285e5b2a1fa46120af0e4194f15b49ab3074f646a016b138e610898b5ad6968b3ca8ff8b26ae0f408c200e5152defda274cf
|
7
|
+
data.tar.gz: 9e9eb8f2ff761872d21afb868bc3cd37411ca1807e2f09b648489d1097e2ba2550e4bc5425458ffa784e09119ecd4939c3a21aa3b519a243d3a27ebe8c6a7303
|
@@ -9,11 +9,11 @@ module CloudstackClient
|
|
9
9
|
params = {
|
10
10
|
'command' => 'listCapacity',
|
11
11
|
}
|
12
|
-
|
13
|
-
if
|
14
|
-
zone = get_zone(
|
12
|
+
|
13
|
+
if args[:zone]
|
14
|
+
zone = get_zone(args[:zone])
|
15
15
|
unless zone
|
16
|
-
puts "Error: Zone #{
|
16
|
+
puts "Error: Zone #{args[:zone]} not found"
|
17
17
|
exit 1
|
18
18
|
end
|
19
19
|
params['zoneid'] = zone['id']
|