Cleaning up nodeNames/networks copy-paste mixup in EC2TemplateOptions as well

This commit is contained in:
Andrew Bayer 2014-01-08 15:44:15 -08:00
parent 031b75c31a
commit 35ecf794cf
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public class EC2TemplateOptions extends TemplateOptions implements Cloneable {
*/ */
public static EC2TemplateOptions networks(Iterable<String> networks) { public static EC2TemplateOptions networks(Iterable<String> networks) {
EC2TemplateOptions options = new EC2TemplateOptions(); EC2TemplateOptions options = new EC2TemplateOptions();
return EC2TemplateOptions.class.cast(options.nodeNames(networks)); return EC2TemplateOptions.class.cast(options.networks(networks));
} }
public static EC2TemplateOptions overrideLoginUser(String user) { public static EC2TemplateOptions overrideLoginUser(String user) {