-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Computer.toNode() can return null #25
Conversation
This looks alright, but there is some whitespace lingering, could you strip them away? 😄 |
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
👍 |
final Slave node = computer.getNode(); | ||
if (node != null) { | ||
try { | ||
Jenkins.getInstance().removeNode(node); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: This method call also can return null. It should not happens in the handler, but FindBugs and other guys will complain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not on Jenkins 1.480 which is what swarm is based on ;-)
@mindjiver this pull request has now successfully completed the CloudBees internal processes and we are now asking you, as the maintainer of the plugin for any additiona feedback with a view towards merging and cutting a new release with this fix |
Computer.toNode() can return null
@mindjiver thank you |
@stephenc The plugin should be released now, I'm updating the release information on the wiki |
@reviewbybees