提交 d9097678 编写于 作者: K Kohsuke Kawaguchi

LoadBalancer we put needs to be sanitized

上级 c188f116
......@@ -255,7 +255,7 @@ public class Queue extends ResourceController implements Saveable {
public void setLoadBalancer(LoadBalancer loadBalancer) {
if(loadBalancer==null) throw new IllegalArgumentException();
this.loadBalancer = loadBalancer;
this.loadBalancer = loadBalancer.sanitize();
}
public QueueSorter getSorter() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册