diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-07 15:16:20 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-07 15:16:20 +0000 |
| commit | 711e6f221839103916de2821f6d34e8051bab4ef (patch) | |
| tree | 6f8a10ee2dc27c522f054e08f10c0a4e1535c324 /src | |
| parent | 343a59f7a693ce4bad4286e2a12187946c86167f (diff) | |
| download | rabbitmq-server-git-711e6f221839103916de2821f6d34e8051bab4ef.tar.gz | |
tweak: make use of rabbit_misc:rs/1
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_control_main.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl index 8cd9f83b4e..fc9c41a467 100644 --- a/src/rabbit_control_main.erl +++ b/src/rabbit_control_main.erl @@ -296,9 +296,9 @@ action(sync_queue, Node, [Q], Opts, Inform) -> action(cancel_sync_queue, Node, [Q], Opts, Inform) -> VHost = proplists:get_value(?VHOST_OPT, Opts), - Inform("Stopping synchronising queue ~s in ~s", [Q, VHost]), - rpc_call(Node, rabbit_control_main, cancel_sync_queue, - [rabbit_misc:r(list_to_binary(VHost), queue, list_to_binary(Q))]); + QName = rabbit_misc:r(list_to_binary(VHost), queue, list_to_binary(Q)), + Inform("Stopping synchronising ~s", [rabbit_misc:rs(QName)]), + rpc_call(Node, rabbit_control_main, cancel_sync_queue, [QName]); action(wait, Node, [PidFile], _Opts, Inform) -> Inform("Waiting for ~p", [Node]), |
