diff --git a/cluster/cluster.go b/cluster/cluster.go index 525b5e3..1c3e06e 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -466,7 +466,7 @@ func (cls *Cluster) GetNodeInfo(nodeId string) (NodeInfo,bool) { return nodeInfo.nodeInfo,true } -func (dc *Cluster) CanDiscoveryService(fromMasterNodeId string,serviceName string) bool{ +func (cls *Cluster) CanDiscoveryService(fromMasterNodeId string,serviceName string) bool{ canDiscovery := true splitServiceName := strings.Split(serviceName,":") @@ -474,16 +474,16 @@ func (dc *Cluster) CanDiscoveryService(fromMasterNodeId string,serviceName strin serviceName = splitServiceName[0] } - for i:=0;i