> @@ -136,11 +136,17 @@ > URI network = URI.create(networks.next()); > assert !networks.hasNext() : "Error: Options should specify only one > network"; > > + Iterator<String> subnetworks = options.getSubnetworks().iterator(); > + > + URI subnetwork = subnetworks.hasNext() ? > URI.create(subnetworks.next()) : null; > + assert !subnetworks.hasNext() : "Error: Options should specify only > one subnetwork";
Since this is an option specific to google (unlike "networks" that is in the jclouds portable interface), make it just an URI instead of a collection, to avoid unnecessary configuration issues. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/1006/files/0c51ed39650e9cab341136716a9d9732c63f7dd0#r78041485