Skip to content

Commit bf22acc

Browse files
committed
1 parent 7977ad1 commit bf22acc

File tree

1 file changed

+4
-1
lines changed
  • modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp

1 file changed

+4
-1
lines changed

modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2445,7 +2445,10 @@ private void processMessageFailedNodes(TcpDiscoveryAbstractMessage msg) {
24452445
}
24462446

24472447
/** */
2448-
private static void enrichNodeWithAttribute(TcpDiscoveryNode node, String attrName, Object attrVal) {
2448+
private static void enrichNodeWithAttribute(TcpDiscoveryNode node, String attrName, @Nullable Object attrVal) {
2449+
if (attrVal == null)
2450+
return;
2451+
24492452
Map<String, Object> attrs = new HashMap<>(node.getAttributes());
24502453

24512454
attrs.put(attrName, attrVal);

0 commit comments

Comments
 (0)