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() * @see InstanceRequest#getSecurityGroups()
*/ */
public T securityGroups(String securityGroupName) { public T securityGroup(String securityGroupName) {
this.securityGroups.add(checkNotNull(securityGroupName, "securityGroupName")); this.securityGroups.add(checkNotNull(securityGroupName, "securityGroupName"));
return self(); return self();
} }

View File

@ -132,7 +132,7 @@ public class InstanceApiLiveTest extends BaseRDSApiLiveTest {
InstanceRequest.builder() InstanceRequest.builder()
.instanceClass("db.t1.micro") .instanceClass("db.t1.micro")
.allocatedStorageGB(5) .allocatedStorageGB(5)
.securityGroups(securityGroup.getName()) .securityGroup(securityGroup.getName())
.name("jclouds") .name("jclouds")
.engine("mysql") .engine("mysql")
.masterUsername("master").masterPassword("Password01") .masterUsername("master").masterPassword("Password01")