Skip to content
Permalink
Browse files

Merge pull request #9 from vjuranek/JENKINS-9415

[FIXED JENKINS-9415]
  • Loading branch information...
kohsuke committed May 12, 2011
2 parents ecdd3b9 + c1e1de9 commit 3e5ed1662f8c2dffdee23ab96d767e156056f19f
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/main/java/hudson/plugins/ec2/SlaveTemplate.java
@@ -196,7 +196,6 @@ public FormValidation doValidateAmi(
images.add(ami);
List<String> owners = new LinkedList<String>();
List<String> users = new LinkedList<String>();
users.add("self"); // if we can't run it its not useful.
List<ImageDescription> img = jec2.describeImages(images, owners, users);
if(img==null || img.isEmpty())
// de-registered AMI causes an empty list to be returned. so be defensive

0 comments on commit 3e5ed16

Please sign in to comment.
You can’t perform that action at this time.