Skip to content
Permalink
Browse files
JENKINS-29851 Global instance cap not calculated for spot instances c…
…orrectly (fixed NPE)
  • Loading branch information
Francis Upton IV committed Jan 13, 2016
1 parent f85b37b commit 848fec3b9a473386173a7faabae25ef911d54b36
Showing 1 changed file with 1 addition and 0 deletions.
@@ -337,6 +337,7 @@ private int countCurrentEC2Slaves(SlaveTemplate template) throws AmazonClientExc
if (sir == null) {
LOGGER.log(Level.INFO, "Found spot node without request: " + ec2Slave.getSpotInstanceRequestId());
n++;
continue;
}
if (sirSet.contains(sir))
continue;

0 comments on commit 848fec3

Please sign in to comment.