We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7977ad1 commit bf22accCopy full SHA for bf22acc
modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
@@ -2445,7 +2445,10 @@ private void processMessageFailedNodes(TcpDiscoveryAbstractMessage msg) {
2445
}
2446
2447
/** */
2448
- private static void enrichNodeWithAttribute(TcpDiscoveryNode node, String attrName, Object attrVal) {
+ private static void enrichNodeWithAttribute(TcpDiscoveryNode node, String attrName, @Nullable Object attrVal) {
2449
+ if (attrVal == null)
2450
+ return;
2451
+
2452
Map<String, Object> attrs = new HashMap<>(node.getAttributes());
2453
2454
attrs.put(attrName, attrVal);
0 commit comments