mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
fixed a bug introduced when Node is abstracted to Label.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3524 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
a537e6aad0
commit
3f7e266dec
1 file changed
+1
-2
@@ -575,9 +575,8 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
|
||||
canRoam = false;
|
||||
assignedNode = req.getParameter("slave");
|
||||
if(assignedNode !=null) {
|
||||
if(Hudson.getInstance().getLabel(assignedNode)==null) {
|
||||
if(Hudson.getInstance().getLabel(assignedNode).isEmpty())
|
||||
assignedNode = null; // no such label
|
||||
}
|
||||
}
|
||||
} else {
|
||||
canRoam = true;
|
||||
|
||||
Reference in new issue
Block a user