diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-11-22 12:48:32 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-11-22 12:48:32 +0000 |
commit | a151c675fd89b4630d82c4dac76e067cd71a5535 (patch) | |
tree | e216473f8d5f3b598a08071c875a9632f8fc7288 | |
parent | 14966ae7595dd227d1f169c14c19a91588e8a5f6 (diff) | |
download | rabbitmq-server-a151c675fd89b4630d82c4dac76e067cd71a5535.tar.gz |
Fix accidental renaming of an info item.
-rw-r--r-- | src/rabbit_channel.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index bdbb6351..2dcc9423 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -65,7 +65,7 @@ [pid, connection, number, - username, + user, vhost]). -define(INFO_KEYS, ?CREATION_EVENT_KEYS ++ ?STATISTICS_KEYS -- [pid]). @@ -1150,7 +1150,7 @@ infos(Items, State) -> [{Item, i(Item, State)} || Item <- Items]. i(pid, _) -> self(); i(connection, #ch{reader_pid = ReaderPid}) -> ReaderPid; i(number, #ch{channel = Channel}) -> Channel; -i(username, #ch{user = User}) -> User#user.username; +i(user, #ch{user = User}) -> User#user.username; i(vhost, #ch{virtual_host = VHost}) -> VHost; i(transactional, #ch{transaction_id = TxnKey}) -> TxnKey =/= none; i(consumer_count, #ch{consumer_mapping = ConsumerMapping}) -> |