提交 98605d0a 编写于 作者: S Stephen Connolly

After JENKINS-26391 we need to compare labels based on matching names not instance identity

上级 384e0251
......@@ -116,7 +116,8 @@ public abstract class Label extends Actionable implements Comparable<Label>, Mod
@Override
protected boolean matches(SubTask item) {
return item.getAssignedLabel() == Label.this;
final Label l = item.getAssignedLabel();
return l != null && Label.this.matches(l.name);
}
};
this.nodeProvisioner = new NodeProvisioner(this, loadStatistics);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册