> @@ -367,6 +405,22 @@ public static CreateServerOptions
> securityGroupNames(Iterable<String> groupNames
> CreateServerOptions options = new CreateServerOptions();
> return
> CreateServerOptions.class.cast(options.securityGroupNames(groupNames));
> }
> +
> + /**
> + * @see CreateServerOptions#getNetworks
> + */
> + public static CreateServerOptions networks(String... networks) {
> + CreateServerOptions options = new CreateServerOptions();
> + return CreateServerOptions.class.cast(options.networks(networks));
> I like that, but would rather keep it consistent with how securityGroupNames
> are handled.
Just to play devil's advocate...refactor both? Or first this one and then, in a
second commit, make `securityGroupNames` behave the same way?
We can also commit like this, I can then submit the refactoring as a new PR if
you prefer ;-)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/72/files#r5465817