diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-04-08 16:00:55 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-04-08 16:00:55 +0100 |
commit | 6f8a4ef1ba794b2005dcdccb600c9fa1c621130c (patch) | |
tree | cda350d3bb58d95b49c40c8663949a6d19b3cf94 /src/rabbit_control_main.erl | |
parent | 2f16bf43db30da94a1f3115bd19e12c3b4f196ea (diff) | |
download | rabbitmq-server-6f8a4ef1ba794b2005dcdccb600c9fa1c621130c.tar.gz |
Allow parameter validation to know about the user making the change.
Diffstat (limited to 'src/rabbit_control_main.erl')
-rw-r--r-- | src/rabbit_control_main.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl index f9e59078..451f4d70 100644 --- a/src/rabbit_control_main.erl +++ b/src/rabbit_control_main.erl @@ -484,8 +484,9 @@ action(set_parameter, Node, [Component, Key, Value], Opts, Inform) -> VHostArg = list_to_binary(proplists:get_value(?VHOST_OPT, Opts)), Inform("Setting runtime parameter ~p for component ~p to ~p", [Key, Component, Value]), - rpc_call(Node, rabbit_runtime_parameters, parse_set, - [VHostArg, list_to_binary(Component), list_to_binary(Key), Value]); + rpc_call( + Node, rabbit_runtime_parameters, parse_set, + [VHostArg, list_to_binary(Component), list_to_binary(Key), Value, none]); action(clear_parameter, Node, [Component, Key], Opts, Inform) -> VHostArg = list_to_binary(proplists:get_value(?VHOST_OPT, Opts)), |