This commit is contained in:
nkorange 2019-04-10 11:29:05 +08:00
parent 026c430512
commit 857f9bd15e

View File

@ -64,6 +64,7 @@ public class Cluster extends com.alibaba.nacos.api.naming.pojo.Cluster implement
public Cluster(String clusterName) { public Cluster(String clusterName) {
this.setName(clusterName); this.setName(clusterName);
validate();
} }
public int getDefIPPort() { public int getDefIPPort() {