Skip to content
Permalink
Browse files
JENKINS-14884 Resume stopped instances (another fix)
  • Loading branch information
francisu committed Sep 7, 2012
1 parent d5154c6 commit 1c7826d67cf6ebd15707743848c17e5907a70b70
Showing 1 changed file with 1 addition and 1 deletion.
@@ -256,7 +256,7 @@ public EC2Slave provision(TaskListener listener) throws AmazonClientException, I
/* No subnet: we can use standard security groups by name */
riRequest.setSecurityGroups(securityGroupSet);
if (securityGroupSet.size() > 0)
diFilters.add(new Filter("group-id").withValues(securityGroupSet));
diFilters.add(new Filter("group-name").withValues(securityGroupSet));
}

String userDataString = Base64.encodeBase64String(userData.getBytes());

0 comments on commit 1c7826d

Please sign in to comment.