diff options
| author | Matthias Radestock <matthias@lshift.net> | 2009-10-22 18:59:40 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2009-10-22 18:59:40 +0100 |
| commit | 71ad88947c14e344a900bc712340a0a902923541 (patch) | |
| tree | 93f2596923feb5f7ffc3a93f36799091a5617d78 /src | |
| parent | b770dd42d49f251518caace98d7167704cc3d5e1 (diff) | |
| download | rabbitmq-server-git-71ad88947c14e344a900bc712340a0a902923541.tar.gz | |
correct list_bindings result field order
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_control.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl index cc82e727d6..1957972990 100644 --- a/src/rabbit_control.erl +++ b/src/rabbit_control.erl @@ -181,7 +181,7 @@ messages, acks_uncommitted, consumers, transactions, memory]. The default is auto_delete, arguments]. The default is to display name and type. The output format for \"list_bindings\" is a list of rows containing -exchange name, routing key, queue name and arguments, in that order. +exchange name, queue name, routing key and arguments, in that order. <ConnectionInfoItem> must be a member of the list [node, address, port, peer_address, peer_port, state, channels, user, vhost, timeout, frame_max, @@ -285,7 +285,7 @@ action(list_exchanges, Node, Args, Inform) -> action(list_bindings, Node, Args, Inform) -> Inform("Listing bindings", []), {VHostArg, _} = parse_vhost_flag_bin(Args), - InfoKeys = [exchange_name, routing_key, queue_name, args], + InfoKeys = [exchange_name, queue_name, routing_key, args], display_info_list( [lists:zip(InfoKeys, tuple_to_list(X)) || X <- rpc_call(Node, rabbit_exchange, list_bindings, [VHostArg])], |
