) {
if clusterName != svc.ClusterMetadata.CurrentClusterName {
"ClusterInformation in static config is deprecated. Please use TCTL tool to configure remote cluster connections",
tag.Key("clusterInformation"),
tag.IgnoredValue(currentMetadata),
tag.Value(newMetadata))
return
}
newMetadata.RPCAddress = currentMetadata.RPCAddress
c.logger.Info(fmt.Sprintf("Use rpc address %v for cluster %v.", newMetadata.RPCAddress, clusterName))