Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #42 from meteor/set-tags

Fix setting EC2 tags on slaves (broken in 1.17 by d5154c6).
  • Loading branch information...
commit 1ffecc4e28eb26ad570f224b1ef38054336fa3d8 2 parents 75090db + fd5cd71
Francis Upton francisu authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/main/java/hudson/plugins/ec2/SlaveTemplate.java
1  src/main/java/hudson/plugins/ec2/SlaveTemplate.java
View
@@ -299,6 +299,7 @@ public EC2Slave provision(TaskListener listener) throws AmazonClientException, I
if (tags != null && !tags.isEmpty()) {
inst_tags = new HashSet<Tag>();
for(EC2Tag t : tags) {
+ inst_tags.add(new Tag(t.getName(), t.getValue()));
diFilters.add(new Filter("tag:"+t.getName()).withValues(t.getValue()));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.