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 6103ca9  Fix wrong validation. (#5005)
6103ca9 is described below

commit 6103ca9256514241396ff001d3265b19c020dff6
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Wed Jul 1 19:06:12 2020 +0800

    Fix wrong validation. (#5005)
---
 .../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;

Reply via email to