lib/cloudstack-cli/commands/network.rb in cloudstack-cli-0.3.4 vs lib/cloudstack-cli/commands/network.rb in cloudstack-cli-0.3.5

- old
+ new

@@ -31,10 +31,11 @@ if project networks = client.list_networks(project['id']) elsif options[:account] networks = client.list_networks(account: options[:account]) else - networks = client.list_networks(project_id: -1, isdefault: options[:isdefault]) + networks = client.list_networks(isdefault: options[:isdefault]) + networks += client.list_networks(project_id: -1, isdefault: options[:isdefault]) end if networks.size < 1 puts "No networks found." else \ No newline at end of file