summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2020-07-03 08:36:55 +0700
committerMichael Klishin <michael@clojurewerkz.org>2020-07-03 08:36:55 +0700
commitdd6915ad86bc11d02bc1ebec5dd681c2da7d19ca (patch)
tree42180dcdecb6ee41cf66cfb3360c509e1272e78a
parent7d8c3a28cabeb67f69618d418ae9e85d7a0fda07 (diff)
downloadrabbitmq-server-git-dd6915ad86bc11d02bc1ebec5dd681c2da7d19ca.tar.gz
Revert 460a432ddb2337dad6a7ca350497a8e2aee5063f
Definition import should be able to cope with maps. We should move away from using proplists to the extent practically possible, and definition import is one area where we should be able to do that.
-rw-r--r--src/rabbit_definitions.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_definitions.erl b/src/rabbit_definitions.erl
index 4f90861fdf..9133ed1392 100644
--- a/src/rabbit_definitions.erl
+++ b/src/rabbit_definitions.erl
@@ -727,7 +727,7 @@ runtime_parameter_definition(Param) ->
<<"vhost">> => pget(vhost, Param),
<<"component">> => pget(component, Param),
<<"name">> => pget(name, Param),
- <<"value">> => pget(value, Param)
+ <<"value">> => maps:from_list(pget(value, Param))
}.
list_global_runtime_parameters() ->