diff options
| -rw-r--r-- | src/rabbit_control_main.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl index 0e377b7c3c..ae98e51443 100644 --- a/src/rabbit_control_main.erl +++ b/src/rabbit_control_main.erl @@ -548,9 +548,8 @@ action(clear_policy, Node, [Key], Opts, Inform) -> rpc_call(Node, rabbit_policy, delete, [VHostArg, list_to_binary(Key)]); action(set_vhost_limits, Node, [Defn], Opts, Inform) -> - Msg = "Setting vhost limits for vhost ~p", VHostArg = list_to_binary(proplists:get_value(?VHOST_OPT, Opts)), - Inform(Msg, [VHostArg]), + Inform("Setting vhost limits for vhost ~p", [VHostArg]), rpc_call(Node, rabbit_vhost_limit, parse_set, [VHostArg, Defn]), ok; |
