mirror of https://github.com/apache/jclouds.git
Cleaning up nodeNames/networks copy-paste mixup in EC2TemplateOptions as well
This commit is contained in:
parent
031b75c31a
commit
35ecf794cf
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue