diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2020-07-01 01:35:03 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2020-07-01 01:35:03 +0300 |
| commit | e697721b29c28e4e5ad0408ae4060720130efb9e (patch) | |
| tree | b2e52344c4c92f39c98984b38307e14ada1f33dd | |
| parent | 8e0362f8b2a21f6f570ddb3b1e0d444cc8b36877 (diff) | |
| download | rabbitmq-server-git-e697721b29c28e4e5ad0408ae4060720130efb9e.tar.gz | |
Format readable name as a binary
for CLI tools to output without any post-processing.
Part of rabbitmq/rabbitmq-cli#432
| -rw-r--r-- | src/rabbit_amqqueue.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index 37fede8207..21c027451d 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -1105,7 +1105,7 @@ list_local_mirrored_classic_without_synchronised_mirrors_for_cli() -> [begin #resource{name = Name} = amqqueue:get_name(Q), #{ - <<"readable_name">> => rabbit_misc:rs(amqqueue:get_name(Q)), + <<"readable_name">> => rabbit_data_coercion:to_binary(rabbit_misc:rs(amqqueue:get_name(Q))), <<"name">> => Name, <<"virtual_host">> => amqqueue:get_vhost(Q), <<"type">> => <<"classic">> |
