summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-11-28 17:56:15 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-11-28 17:56:15 +0000
commitdcdd3b7c6cd9c0ab092a7c412996dc2f69692192 (patch)
tree91798864d8f64e7c39ace7415f5e2be1c1485891
parentab1e3e6af7b69137cea6b8d6e434cf9d378ff019 (diff)
downloadrabbitmq-server-dcdd3b7c6cd9c0ab092a7c412996dc2f69692192.tar.gz
Rename again
-rw-r--r--src/rabbit_control_main.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl
index c00c694c..d9bae4c4 100644
--- a/src/rabbit_control_main.erl
+++ b/src/rabbit_control_main.erl
@@ -40,7 +40,7 @@
change_cluster_node_type,
update_cluster_nodes,
{forget_cluster_node, [?OFFLINE_DEF]},
- rename_node,
+ rename_cluster_node,
force_boot,
cluster_status,
{sync_queue, [?VHOST_DEF]},
@@ -105,7 +105,7 @@
-define(COMMANDS_NOT_REQUIRING_APP,
[stop, stop_app, start_app, wait, reset, force_reset, rotate_logs,
join_cluster, change_cluster_node_type, update_cluster_nodes,
- forget_cluster_node, rename_node, cluster_status, status,
+ forget_cluster_node, rename_cluster_node, cluster_status, status,
environment, eval, force_boot]).
%%----------------------------------------------------------------------------
@@ -235,7 +235,8 @@ action(forget_cluster_node, Node, [ClusterNodeS], Opts, Inform) ->
[ClusterNode, false])
end;
-action(rename_node, _Node, [FromNodeS, ToNodeS | OthersS], _Opts, Inform) ->
+action(rename_cluster_node, _Node, [FromNodeS, ToNodeS | OthersS], _Opts,
+ Inform) ->
Others = [list_to_atom(N) || N <- OthersS],
FromNode = list_to_atom(FromNodeS),
ToNode = list_to_atom(ToNodeS),