Skip to content

Commit

Permalink
JENKINS-19845, EC2 plugin incorrectly reports current instance count
Browse files Browse the repository at this point in the history
- Now using the specific 'ec2slave' tag
  • Loading branch information
rolandgroen committed Sep 11, 2014
1 parent ace707c commit f2a97d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/hudson/plugins/ec2/EC2Cloud.java
Expand Up @@ -227,9 +227,9 @@ public int countCurrentEC2Slaves(String ami) throws AmazonClientException {
}

/**
* This method does check if the slave is provisioned by this plugin.
* It does so by checking for a tag with the key ec2slave, the
* value of the tag will be ignored.
* This method checks if the slave is provisioned by this plugin.
* It does so by: 1) check if the ami matches and 2) by checking
* for a tag with the key ec2slave. The value of the tag will be ignored.
*
* See also JENKINS-19845
*
Expand Down

0 comments on commit f2a97d5

Please sign in to comment.