From b9a5dc0d0b607d689481bf1670c8fe4e446ef17c Mon Sep 17 00:00:00 2001 From: Alex Yarmula Date: Tue, 16 Mar 2010 16:56:09 -0700 Subject: [PATCH] fix for multiple security groups in ec2 --- .../java/org/jclouds/aws/ec2/options/RunInstancesOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/core/src/main/java/org/jclouds/aws/ec2/options/RunInstancesOptions.java b/aws/core/src/main/java/org/jclouds/aws/ec2/options/RunInstancesOptions.java index 9d8eef0966..b5c7621cc1 100644 --- a/aws/core/src/main/java/org/jclouds/aws/ec2/options/RunInstancesOptions.java +++ b/aws/core/src/main/java/org/jclouds/aws/ec2/options/RunInstancesOptions.java @@ -76,7 +76,7 @@ public class RunInstancesOptions extends BaseEC2RequestOptions { } String getSecurityGroup() { - return getFirstFormOrNull("SecurityGroup"); + return getFirstFormOrNull("SecurityGroup.1"); } /**