Repository: karaf-cellar Updated Branches: refs/heads/cellar-3.0.x 39237a44b -> 812d1a621
[KARAF-3992] node is not required in cluster:group-set command Project: http://git-wip-us.apache.org/repos/asf/karaf-cellar/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf-cellar/commit/812d1a62 Tree: http://git-wip-us.apache.org/repos/asf/karaf-cellar/tree/812d1a62 Diff: http://git-wip-us.apache.org/repos/asf/karaf-cellar/diff/812d1a62 Branch: refs/heads/cellar-3.0.x Commit: 812d1a6215a7cf51f9028f1c232e4a668774d7b8 Parents: 39237a4 Author: Jean-Baptiste Onofré <[email protected]> Authored: Mon Sep 14 15:19:02 2015 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Mon Sep 14 15:19:02 2015 +0200 ---------------------------------------------------------------------- .../org/apache/karaf/cellar/shell/group/GroupJoinCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf-cellar/blob/812d1a62/shell/src/main/java/org/apache/karaf/cellar/shell/group/GroupJoinCommand.java ---------------------------------------------------------------------- diff --git a/shell/src/main/java/org/apache/karaf/cellar/shell/group/GroupJoinCommand.java b/shell/src/main/java/org/apache/karaf/cellar/shell/group/GroupJoinCommand.java index c04dfff..8fcec7d 100644 --- a/shell/src/main/java/org/apache/karaf/cellar/shell/group/GroupJoinCommand.java +++ b/shell/src/main/java/org/apache/karaf/cellar/shell/group/GroupJoinCommand.java @@ -26,7 +26,7 @@ public class GroupJoinCommand extends GroupSupport { @Argument(index = 0, name = "group", description = "The cluster group name", required = true, multiValued = false) String groupName; - @Argument(index = 1, name = "node", description = "The node(s) ID", required = true, multiValued = true) + @Argument(index = 1, name = "node", description = "The node(s) ID", required = false, multiValued = true) List<String> nodes; @Override @@ -36,7 +36,6 @@ public class GroupJoinCommand extends GroupSupport { System.err.println("Cluster group " + groupName + " doesn't exist"); return null; } - return doExecute(ManageGroupAction.JOIN, groupName, null, nodes,false); }
