diff --git a/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ClusterService.java b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ClusterService.java index e357d243c0169e052db2be1062a574ec833e8afd..511c13a702d771a3281f4050b5c653f0e64e2937 100644 --- a/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ClusterService.java +++ b/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ClusterService.java @@ -22,7 +22,7 @@ public class ClusterService { public ClusterDTO createCluster(Env env, ClusterDTO cluster){ if (!clusterAPI.isClusterUnique(cluster.getAppId(), env, cluster.getName())){ - throw new BadRequestException(String.format("cluster %s already exist.", cluster.getName())); + throw new BadRequestException(String.format("cluster %s already exists.", cluster.getName())); } return clusterAPI.createOrUpdate(env, cluster); }