Re: [jclouds/jclouds-labs] separate the DeploymentToVMDeployment to a function (#320)
thx @nacx, merged at [master](http://git-wip-us.apache.org/repos/asf/jclouds-labs/commit/28c56e06) -- 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-labs/pull/320#issuecomment-248632037
Re: [jclouds/jclouds-labs] separate the DeploymentToVMDeployment to a function (#320)
Closed #320. -- 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-labs/pull/320#event-797411872
Re: [jclouds/jclouds-labs] separate the DeploymentToVMDeployment to a function (#320)
nacx approved this pull request. > private final ProviderMetadata providerMetadata; + private final DeploymentToVMDeployment deploymentToVMDeployment; Better declare and inject it as `Function` to make it easier to re-bind. > @@ -288,7 +279,7 @@ public VMImage getImage(final String id) { @Override public Iterable listLocations() { - final Iterable whiteListZoneName = findWhiteListOfRegions(); + final Iterable whiteListedRegionNames = findWhiteListOfRegions(); You are parsing this list in several places. Just call this in the constructor and assign to a class final variable. -- 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-labs/pull/320#pullrequestreview-960424
Re: [jclouds/jclouds-labs] separate the DeploymentToVMDeployment to a function (#320)
Just minors. let's merge it, since I plan to open a PR with the minor fixes in a while. -- 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-labs/pull/320#issuecomment-248627353