Fix wrong validation. (#5005)

This commit is contained in:
吴晟 Wu Sheng 2020-07-01 19:06:12 +08:00 committed by GitHub
parent 709acb0c48
commit 6103ca9256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;