summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-05-19 12:30:16 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-05-19 12:30:16 +0100
commit0cc380824778e2305013efe764effd36a809b36e (patch)
tree9c12b5d3b1f0ae0c8501387aeee565e9898ff312
parenta0588a3cdf4f5c56ea7d1c845c21ecdeaa0ae76f (diff)
downloadrabbitmq-server-0cc380824778e2305013efe764effd36a809b36e.tar.gz
Rename
-rw-r--r--docs/rabbitmqctl.1.xml4
-rw-r--r--src/rabbit_control.erl4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index 24228f41..0719bf3b 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1324,10 +1324,10 @@
</varlistentry>
<varlistentry>
- <term><cmdsynopsis><command>refresh_channel_config</command></cmdsynopsis></term>
+ <term><cmdsynopsis><command>refresh_config</command></cmdsynopsis></term>
<listitem>
<para>
- Tell all channels to refresh their configuration (currently only the value of <code>trace_exchanges</code>).
+ Tell running RabbitMQ processes to refresh their configuration (currently only the value of <code>trace_exchanges</code>).
</para>
</listitem>
</varlistentry>
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl
index 6966fd04..94169969 100644
--- a/src/rabbit_control.erl
+++ b/src/rabbit_control.erl
@@ -295,8 +295,8 @@ action(unset_env, Node, [Var], _Opts, Inform) ->
Inform("Clearing control variable ~s for node ~p", [Var, Node]),
rpc_call(Node, application, unset_env, [rabbit, parse(Var)]);
-action(refresh_channel_config, Node, [], _Opts, Inform) ->
- Inform("Telling channels to refresh configuration", []),
+action(refresh_config, Node, [], _Opts, Inform) ->
+ Inform("Refreshing configuration", []),
rpc_call(Node, rabbit_channel, refresh_config_all, []);
action(set_permissions, Node, [Username, CPerm, WPerm, RPerm], Opts, Inform) ->