You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by da...@apache.org on 2019/10/22 09:10:50 UTC

[skywalking] branch master updated: ServiceInstanceRelation set error id

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

daming 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 cbb2755  ServiceInstanceRelation set error id
     new 60746b9  Merge pull request #3683 from coki230/patch-4
cbb2755 is described below

commit cbb2755093acfcd34d897b66fc2938a4a02428da
Author: coki230 <xi...@126.com>
AuthorDate: Tue Oct 22 14:49:15 2019 +0800

    ServiceInstanceRelation set error id
    
    the SourceServiceId set error id which is destServiceId.
---
 .../receiver/trace/provider/parser/listener/endpoint/SourceBuilder.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/trace/provider/parser/listener/endpoint/SourceBuilder.java b/oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/trace/provider/parser/listener/endpoint/SourceBuilder.java
index 1d2e1b1..5ec98dc 100644
--- a/oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/trace/provider/parser/listener/endpoint/SourceBuilder.java
+++ b/oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/trace/provider/parser/listener/endpoint/SourceBuilder.java
@@ -114,7 +114,7 @@ class SourceBuilder {
         serviceInstanceRelation.setSourceServiceId(sourceServiceId);
         serviceInstanceRelation.setSourceServiceName(sourceServiceName);
         serviceInstanceRelation.setSourceServiceInstanceName(sourceServiceInstanceName);
-        serviceInstanceRelation.setSourceServiceId(destServiceId);
+        serviceInstanceRelation.setDestServiceId(destServiceId);
         serviceInstanceRelation.setDestServiceInstanceId(destServiceInstanceId);
         serviceInstanceRelation.setDestServiceName(destServiceName);
         serviceInstanceRelation.setDestServiceInstanceName(destServiceInstanceName);