> @@ -47,11 +72,28 @@ public IpPermission apply(SecurityGroupRule rule) {
>        builder.ipProtocol(rule.getIpProtocol());
>        builder.fromPort(rule.getFromPort());
>        builder.toPort(rule.getToPort());
> -      if (rule.getGroup() != null) 
> -         builder.tenantIdGroupNamePair(rule.getGroup().getTenantId(), 
> rule.getGroup().getName());
> +      if (rule.getGroup() != null) {
> +         String zone = getFirst(filter(locationIndex.get().keySet(), 
> isSecurityGroupInZone(rule.getGroup().getName())),
> +                 null);

They pretty much never switch zones, I think. Lemme consider this.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/167/files#r6837903

Reply via email to