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 2020/07/01 08:17:52 UTC
[skywalking] branch endpoint-rela-id-bug created (now 40aec24)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a change to branch endpoint-rela-id-bug
in repository https://gitbox.apache.org/repos/asf/skywalking.git.
at 40aec24 Fix wrong validation.
This branch includes the following new commits:
new 40aec24 Fix wrong validation.
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 wrong validation.
Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch endpoint-rela-id-bug
in repository https://gitbox.apache.org/repos/asf/skywalking.git
commit 40aec24ca48ce88e5c2b4496fb14c40bb91cea16
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Jul 1 16:17:24 2020 +0800
Fix wrong validation.
---
.../java/org/apache/skywalking/oap/server/core/query/input/Entity.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/query/input/Entity.java b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/Entity.java
index 117e2d3..8909fb0 100644
--- a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/Entity.java
+++ b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/Entity.java
@@ -90,7 +90,7 @@ public class Entity {
&& Objects.nonNull(normal) && Objects.nonNull(destNormal);
case EndpointRelation:
return Objects.nonNull(serviceName) && Objects.nonNull(endpointName)
- && Objects.nonNull(serviceInstanceName) && Objects.nonNull(endpointName)
+ && Objects.nonNull(endpointName) && Objects.nonNull(destEndpointName)
&& Objects.nonNull(normal) && Objects.nonNull(destNormal);
default:
return false;