mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
simplified.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21796 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
90f4af64e7
commit
a898587cde
1 file changed
+1
-2
@@ -61,7 +61,6 @@ import hudson.model.listeners.SCMListener;
|
||||
import hudson.remoting.LocalChannel;
|
||||
import hudson.remoting.VirtualChannel;
|
||||
import hudson.remoting.Channel;
|
||||
import hudson.scm.CVSSCM;
|
||||
import hudson.scm.RepositoryBrowser;
|
||||
import hudson.scm.SCM;
|
||||
import hudson.scm.SCMDescriptor;
|
||||
@@ -1241,7 +1240,7 @@ public final class Hudson extends Node implements ItemGroup<TopLevelItem>, Stapl
|
||||
name = "";
|
||||
|
||||
for (Computer c : computers.values()) {
|
||||
if(c.getNode().getNodeName().equals(name))
|
||||
if(c.getName().equals(name))
|
||||
return c;
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user