mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Merge pull request #1514 from nosqlbench/systemid-pr-fix
SystemID fix orElse
This commit is contained in:
@@ -74,7 +74,7 @@ public class SystemId {
|
||||
}).findFirst();
|
||||
|
||||
if ( firstInetAddrForInterface.isPresent() &&
|
||||
firstInetAddrForInterface.orElse(null).getHostAddress().contains(".")) return firstInetAddrForInterface;
|
||||
firstInetAddrForInterface.get().getHostAddress().contains(".")) return firstInetAddrForInterface;
|
||||
|
||||
Optional<InetAddress> firstIpAddress = ifaces.stream()
|
||||
.flatMap(i4 -> {
|
||||
|
||||
Reference in New Issue
Block a user