This commit is contained in:
Adrian Cole 2012-07-26 14:44:42 -07:00
parent c0d21a7d09
commit 7a23930df6
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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")