summaryrefslogtreecommitdiff
path: root/src/rabbit_control_main.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_control_main.erl')
-rw-r--r--src/rabbit_control_main.erl8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl
index fc049da1..b19971fc 100644
--- a/src/rabbit_control_main.erl
+++ b/src/rabbit_control_main.erl
@@ -41,7 +41,6 @@
update_cluster_nodes,
{forget_cluster_node, [?OFFLINE_DEF]},
rename_current_node,
- rename_other_node,
force_boot,
cluster_status,
{sync_queue, [?VHOST_DEF]},
@@ -242,13 +241,6 @@ action(rename_current_node, _Node, [FromNodeS, ToNodeS], _Opts, Inform) ->
Inform("Renaming local cluster node ~s to ~s", [FromNode, ToNode]),
rabbit_mnesia_offline:rename_local_node(FromNode, ToNode);
-action(rename_other_node, Node, [FromNodeS, ToNodeS], _Opts, Inform) ->
- FromNode = list_to_atom(FromNodeS),
- ToNode = list_to_atom(ToNodeS),
- Inform("Renaming remote cluster node ~s to ~s", [FromNode, ToNode]),
- rpc_call(Node, rabbit_mnesia_offline, rename_remote_node,
- [FromNode, ToNode]);
-
action(force_boot, Node, [], _Opts, Inform) ->
Inform("Forcing boot for Mnesia dir ~s", [mnesia:system_info(directory)]),
case rabbit:is_running(Node) of