mirror of https://github.com/apache/jclouds.git
typo
This commit is contained in:
parent
c0d21a7d09
commit
7a23930df6
|
@ -143,7 +143,7 @@ public class InstanceRequest extends BaseInstance {
|
|||
/**
|
||||
* @see InstanceRequest#getSecurityGroups()
|
||||
*/
|
||||
public T securityGroups(String securityGroupName) {
|
||||
public T securityGroup(String securityGroupName) {
|
||||
this.securityGroups.add(checkNotNull(securityGroupName, "securityGroupName"));
|
||||
return self();
|
||||
}
|
||||
|
|
|
@ -132,7 +132,7 @@ public class InstanceApiLiveTest extends BaseRDSApiLiveTest {
|
|||
InstanceRequest.builder()
|
||||
.instanceClass("db.t1.micro")
|
||||
.allocatedStorageGB(5)
|
||||
.securityGroups(securityGroup.getName())
|
||||
.securityGroup(securityGroup.getName())
|
||||
.name("jclouds")
|
||||
.engine("mysql")
|
||||
.masterUsername("master").masterPassword("Password01")
|
||||
|
|
Loading…
Reference in New Issue