Fix a wrong check about entity if GraphQL at the endpoint relation level. (#8218)

This commit is contained in:
吴晟 Wu Sheng 2021-12-01 09:28:21 +08:00 committed by GitHub
parent 00ffdf77da
commit df75eb7d97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ Release Notes.
* Add customized envoy ALS protocol receiver for satellite transmit batch data.
* Remove `logback` dependencies in IoTDB plugin.
* Fix `StorageModuleElasticsearchProvider` doesn't watch on `trustStorePath`.
* Fix a wrong check about entity if GraphQL at the endpoint relation level.
#### UI

View File

@ -89,7 +89,7 @@ public class Entity {
&& Objects.nonNull(serviceInstanceName) && Objects.nonNull(destServiceInstanceName)
&& Objects.nonNull(normal) && Objects.nonNull(destNormal);
case EndpointRelation:
return Objects.nonNull(serviceName) && Objects.nonNull(endpointName)
return Objects.nonNull(serviceName) && Objects.nonNull(destServiceName)
&& Objects.nonNull(endpointName) && Objects.nonNull(destEndpointName)
&& Objects.nonNull(normal) && Objects.nonNull(destNormal);
default: