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 | aeab4639d6dc4182c66c336d58b7fc9050143b68 (patch) | |
| tree | e216473f8d5f3b598a08071c875a9632f8fc7288 | |
| parent | 2e4c9d5d8dbbadca756575e1f6d030c8a5773a4c (diff) | |
| download | rabbitmq-server-git-aeab4639d6dc4182c66c336d58b7fc9050143b68.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 bdbb635170..2dcc942324 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}) -> |
