We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7dc68f commit 7c7ccd6Copy full SHA for 7c7ccd6
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/LinuxBrokerHostUsageImpl.java
@@ -228,7 +228,7 @@ public int getNicCount() {
228
229
private boolean isPhysicalNic(Path path) {
230
try {
231
- if (path.toRealPath().toString().contains("/virtual/")) {
+ if (path.toString().contains("/virtual/")) {
232
return false;
233
}
234
// Check the type to make sure it's ethernet (type "1")
0 commit comments