Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #36 from msm/master

Fix minor fallout from giving nodes useful names
  • Loading branch information...
commit 7a64483bfc51dccb16e9d2e2bb425f590fe798fd 2 parents bd975b4 + 334b860
@francisu francisu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/java/hudson/plugins/ec2/EC2Slave.java
View
2  src/main/java/hudson/plugins/ec2/EC2Slave.java
@@ -209,7 +209,7 @@ void stop() {
LOGGER.info("EC2 instance stopped: " + getInstanceId());
toComputer().disconnect(null);
} catch (AmazonClientException e) {
- Instance i = getInstance(getNodeName());
+ Instance i = getInstance(getInstanceId());
LOGGER.log(Level.WARNING, "Failed to terminate EC2 instance: "+getInstanceId() + " info: "+((i != null)?i:"") , e);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.