Fix service instance equals (#6787)
This commit is contained in:
parent
e98a893387
commit
1693df214b
|
|
@ -70,10 +70,4 @@ public interface ServiceNameMapping {
|
|||
return DEFAULT_MAPPING_GROUP + SLASH + serviceInterface;
|
||||
}
|
||||
|
||||
static class MappingException extends RuntimeException {
|
||||
public MappingException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ public class DefaultServiceInstance implements ServiceInstance {
|
|||
if (entry.getKey().equals(REVISION_KEY)) {
|
||||
continue;
|
||||
}
|
||||
equals = equals && !entry.getValue().equals(that.getMetadata().get(entry.getKey()));
|
||||
equals = equals && entry.getValue().equals(that.getMetadata().get(entry.getKey()));
|
||||
}
|
||||
|
||||
return equals;
|
||||
|
|
|
|||
Loading…
Reference in New Issue