From 574a47ca6d1548af2e27691cdd884fae3fbb653a Mon Sep 17 00:00:00 2001 From: IanCao Date: Mon, 10 Jun 2019 16:05:52 +0800 Subject: [PATCH] remove useless code --- .../alibaba/nacos/naming/controllers/InstanceController.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java b/naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java index 3d9a11506..61e1b9afe 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java @@ -235,10 +235,6 @@ public class InstanceController { String clusterName = clientBeat.getCluster(); - if (StringUtils.isBlank(clusterName)) { - clusterName = UtilsAndCommons.DEFAULT_CLUSTER_NAME; - } - if (Loggers.DEBUG_LOG.isDebugEnabled()) { Loggers.DEBUG_LOG.debug("[CLIENT-BEAT] full arguments: beat: {}, serviceName: {}", clientBeat, serviceName); }