@Override
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }

        if (!(obj instanceof DiscoveryResult)) {
            return false;
        }
        DiscoveryResult other = (DiscoveryResult) obj;
        return server.equals(other.server);
    }
Two instances are deemed identical if they wrap the same underlying discovery server instance.
zuul-discovery/src/main/java/com/netflix/zuul/discovery/DiscoveryResult.java