tormath1 commented on this pull request.
> checkArgument(!iterator.hasNext(),
"Error: Please specify only one network/subnetwork in
TemplateOptions when using GCE.");
}
String region = ZONE == location.getScope() ?
location.getParent().getId() : location.getId();
- Optional<Subnetwork> subnet =
subnetworksMap.getUnchecked(fromRegionAndName(region, networkName));
+ Optional<Subnetwork> subnet;
+
+ subnet = isFullURI ?
Optional.fromNullable(resources.subnetwork(URI.create(net))) :
subnetworksMap.getUnchecked(fromRegionAndName(region, networkName));
Yes. I was about thinking about something like that. So we have a plan!
--
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/1236#discussion_r214322842