Skip to content

Commit

Permalink
more clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyselwood committed Mar 1, 2011
1 parent b480e51 commit f8932b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/ec2/SlaveTemplate.java
Expand Up @@ -188,7 +188,7 @@ public FormValidation doValidateAmi(
@QueryParameter String accessId, @QueryParameter String secretKey,
@QueryParameter AwsRegion region,
final @QueryParameter String ami) throws IOException, ServletException {
Jec2 jec2 = EC2Cloud.connect(accessId, secretKey, region.ec2Endpoint);
Jec2 jec2 = EC2Cloud.connect(accessId, secretKey, region.ec2Endpoint);
if(jec2!=null) {
try {
List<String> images = new LinkedList<String>();
Expand Down

0 comments on commit f8932b7

Please sign in to comment.