You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/03/23 00:51:03 UTC

[incubator-skywalking] branch wrong-inst-name created (now bd05e33)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a change to branch wrong-inst-name
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git.


      at bd05e33  Wrong host name.

This branch includes the following new commits:

     new bd05e33  Wrong host name.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-skywalking] 01/01: Wrong host name.

Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch wrong-inst-name
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git

commit bd05e33f4f5e47435b6014aee7889cd73674fcc1
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Fri Mar 22 17:50:51 2019 -0700

    Wrong host name.
---
 .../aop/server/receiver/mesh/ServiceMeshMetricDataDecorator.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oap-server/server-receiver-plugin/skywalking-mesh-receiver-plugin/src/main/java/org/apache/skywalking/aop/server/receiver/mesh/ServiceMeshMetricDataDecorator.java b/oap-server/server-receiver-plugin/skywalking-mesh-receiver-plugin/src/main/java/org/apache/skywalking/aop/server/receiver/mesh/ServiceMeshMetricDataDecorator.java
index 8e6d273..6a4eeb0 100644
--- a/oap-server/server-receiver-plugin/skywalking-mesh-receiver-plugin/src/main/java/org/apache/skywalking/aop/server/receiver/mesh/ServiceMeshMetricDataDecorator.java
+++ b/oap-server/server-receiver-plugin/skywalking-mesh-receiver-plugin/src/main/java/org/apache/skywalking/aop/server/receiver/mesh/ServiceMeshMetricDataDecorator.java
@@ -78,7 +78,7 @@ public class ServiceMeshMetricDataDecorator {
             destServiceInstanceId = CoreRegisterLinker.getServiceInstanceInventoryRegister()
                 .getOrCreate(destServiceId, origin.getDestServiceInstance(), origin.getDestServiceInstance(),
                     origin.getEndTime(),
-                    getOSInfoForMesh(origin.getSourceServiceInstance()));
+                    getOSInfoForMesh(origin.getDestServiceInstance()));
             if (destServiceInstanceId != Const.NONE) {
                 getNewDataBuilder().setDestServiceInstanceId(destServiceInstanceId);
             } else {