Flaugh24 commented on code in PR #1267:
URL: https://github.com/apache/ignite-3/pull/1267#discussion_r1015333186


##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/core/repl/completer/DynamicCompleterFactory.java:
##########
@@ -89,4 +93,13 @@ public LazyDynamicCompleter 
clusterConfigCompleter(Set<String> activationPrefixe
             }
         });
     }
+
+    public LazyDynamicCompleter nodeNameCompleter(String... 
activationPrefixes) {
+        return nodeNameCompleter(Set.of(activationPrefixes));
+    }
+
+    public LazyDynamicCompleter nodeNameCompleter(Set<String> 
activationPrefixes) {
+        return new LazyDynamicCompleter(() -> new 
NodeNameDynamicCompleter(activationPrefixes, nodeNameRegistry.getAllNames()));

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to