This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push: new d3e0dbb Remove duplicate settings telemetry related context id in nacos. (#5306) d3e0dbb is described below commit d3e0dbb973632a663906253c64a38feef457f679 Author: Ax1an <28091237+ax...@users.noreply.github.com> AuthorDate: Thu Aug 13 16:08:34 2020 +0800 Remove duplicate settings telemetry related context id in nacos. (#5306) Co-authored-by: 吴晟 Wu Sheng <wu.sh...@foxmail.com> --- .../skywalking/oap/server/cluster/plugin/nacos/NacosCoordinator.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/oap-server/server-cluster-plugin/cluster-nacos-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/nacos/NacosCoordinator.java b/oap-server/server-cluster-plugin/cluster-nacos-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/nacos/NacosCoordinator.java index 8629900..9c8b418 100644 --- a/oap-server/server-cluster-plugin/cluster-nacos-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/nacos/NacosCoordinator.java +++ b/oap-server/server-cluster-plugin/cluster-nacos-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/nacos/NacosCoordinator.java @@ -32,7 +32,6 @@ import org.apache.skywalking.oap.server.core.cluster.ServiceQueryException; import org.apache.skywalking.oap.server.core.cluster.ServiceRegisterException; import org.apache.skywalking.oap.server.core.remote.client.Address; import org.apache.skywalking.oap.server.library.util.CollectionUtils; -import org.apache.skywalking.oap.server.telemetry.api.TelemetryRelatedContext; public class NacosCoordinator implements ClusterRegister, ClusterNodesQuery { @@ -78,7 +77,6 @@ public class NacosCoordinator implements ClusterRegister, ClusterNodesQuery { throw new ServiceRegisterException(e.getMessage()); } this.selfAddress = remoteInstance.getAddress(); - TelemetryRelatedContext.INSTANCE.setId(selfAddress.toString()); } private boolean needUsingInternalAddr() {