Commit b9b31ebe authored by Benoit Lavenier's avatar Benoit Lavenier

[enh] Network: exclude endpoint on 'localhost'

parent 38a7eca5
Pipeline #4427 passed with stage
in 46 seconds
...@@ -179,6 +179,11 @@ public class NetworkServiceImpl extends BaseRemoteServiceImpl implements Network ...@@ -179,6 +179,11 @@ public class NetworkServiceImpl extends BaseRemoteServiceImpl implements Network
return null; return null;
} }
// Exclude localhost address
else if ("localhost".equalsIgnoreCase(peer.getHost())) {
return null;
}
return asyncRefreshPeer(peer, memberUids, pool); return asyncRefreshPeer(peer, memberUids, pool);
}) })
.filter(Objects::nonNull) .filter(Objects::nonNull)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment