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/12/17 05:01:27 UTC

[skywalking] branch instance-rela-id-bug created (now 5d4e308)

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

wusheng pushed a change to branch instance-rela-id-bug
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


      at 5d4e308  Fix service instance ID build bug.

This branch includes the following new commits:

     new 5d4e308  Fix service instance ID build bug.

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.



[skywalking] 01/01: Fix service instance ID build bug.

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

wusheng pushed a commit to branch instance-rela-id-bug
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 5d4e308b4e8ffb0b3f199edba3968f3969e172b2
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Tue Dec 17 13:01:09 2019 +0800

    Fix service instance ID build bug.
---
 .../skywalking/oap/server/core/source/ServiceInstanceRelation.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/source/ServiceInstanceRelation.java b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/source/ServiceInstanceRelation.java
index 07bc59c..8c6a72f 100644
--- a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/source/ServiceInstanceRelation.java
+++ b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/source/ServiceInstanceRelation.java
@@ -35,7 +35,7 @@ public class ServiceInstanceRelation extends Source {
     }
 
     @Override public String getEntityId() {
-        return String.valueOf(sourceServiceInstanceId) + Const.ID_SPLIT + String.valueOf(destServiceInstanceId) + Const.ID_SPLIT + String.valueOf(componentId);
+        return String.valueOf(sourceServiceInstanceId) + Const.ID_SPLIT + String.valueOf(destServiceInstanceId);
     }
 
     @Getter @Setter private int sourceServiceInstanceId;