cloudstack_client 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9dde802869315559c07e249e54463c727c8bb55
4
- data.tar.gz: 03d1817bae8bcc56c1ca642bfa15bcee49cfb458
3
+ metadata.gz: 9a66228b7d7da1da3ee815f17081c952e54b5c7c
4
+ data.tar.gz: b0244e79989fc73990360714616686921594b0bc
5
5
  SHA512:
6
- metadata.gz: 303bce9e8f4dfcdf1062e7b9a98f919f13c6ceb83f5a61d3a6ee5728a16df5dbc11b79e7dbd590baef1dfa84bb243cddbd330e7bfbd67d6406765b868db06719
7
- data.tar.gz: a1e141d0cca512f20a85fc1d7ddfccd8f597de4d486e8030765cc0a30c397f396842fab1bfb71f75b793e3a501281148ac89f171501abb1e7532ad1be980b896
6
+ metadata.gz: e6f6c819d3505116ac2eb0d807a6d0984e272df95d89068c4c986b823cac21a854e9235f1cedbe4b855ab8da2315e8a619526283c0cb90d4a9fe21d09d0b91a6
7
+ data.tar.gz: 7913fc5646a282174e07fcb0d30149d9bf5d263c2c13277803e231046adc2d04dd82bd6fa83d28322e5d4d3aba7d7dafb17fdb7f6816c023e4cc4dfa55ebfd10
@@ -210,13 +210,14 @@ module CloudstackClient
210
210
  end
211
211
  end
212
212
  if networks.empty?
213
- networks << get_default_network
214
- end
215
- if networks.empty?
216
- puts "No default network found"
217
- exit 1
213
+ unless default_network = get_default_network
214
+ puts "Error: No default network found"
215
+ exit 1
216
+ end
217
+ networks << default_network
218
218
  end
219
219
  network_ids = networks.map { |network|
220
+ puts network
220
221
  network['id']
221
222
  }
222
223
  params['networkids'] = network_ids.join(',')
@@ -1,3 +1,3 @@
1
1
  module CloudstackClient
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstack_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nik Wolfgramm