mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-01 15:47:01 +08:00
Polish
This commit is contained in:
@@ -379,7 +379,7 @@ public class MixAll {
|
||||
}
|
||||
}
|
||||
|
||||
//FIXME Reverse logic comparing to RemotingUtil method, consider refactor in RocketMQ 5.0
|
||||
//Reverse logic comparing to RemotingUtil method, consider refactor in RocketMQ 5.0
|
||||
public static String getLocalhostByNetworkInterface() throws SocketException {
|
||||
List<String> candidatesHost = new ArrayList<String>();
|
||||
Enumeration<NetworkInterface> enumeration = NetworkInterface.getNetworkInterfaces();
|
||||
|
||||
Reference in New Issue
Block a user