mild cleanup, but major change is to make sure the cluster region list is a subset of regions.
Manually tested by invoking AWSEC2TemplateBuilderLiveTest with `-Djclouds.regions=us-east-1`. Verified in jclouds-wire.log that no calls were made to other regions. Mock test will happen in a future change. You can merge this Pull Request by running: git pull https://github.com/adriancole/jclouds adrian.no-cc-region Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds/pull/613 -- Commit Summary -- * JCLOUDS-781 cluster regions is a subset of regions. -- File Changes -- M providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/suppliers/AWSEC2ImageSupplier.java (51) -- Patch Links -- https://github.com/jclouds/jclouds/pull/613.patch https://github.com/jclouds/jclouds/pull/613.diff --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/613
