You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2017/06/01 20:15:59 UTC
[6/7] qpid-dispatch git commit: DISPATCH-781 - Only display
creditWindow for in-links
DISPATCH-781 - Only display creditWindow for in-links
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/645b2e6b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/645b2e6b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/645b2e6b
Branch: refs/heads/tross-dispatch-781-1
Commit: 645b2e6b436d3a9f43fd378f6310e11449fee7ef
Parents: 98a4c36
Author: Ted Ross <tr...@redhat.com>
Authored: Thu Jun 1 16:14:07 2017 -0400
Committer: Ted Ross <tr...@redhat.com>
Committed: Thu Jun 1 16:14:07 2017 -0400
----------------------------------------------------------------------
tools/qdstat | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/645b2e6b/tools/qdstat
----------------------------------------------------------------------
diff --git a/tools/qdstat b/tools/qdstat
index 2410cc4..1ffa593 100755
--- a/tools/qdstat
+++ b/tools/qdstat
@@ -292,7 +292,10 @@ class BusManager(Node):
row.append(self._addr_text(link.owningAddr))
row.append(self._addr_phase(link.owningAddr))
row.append(link.capacity)
- row.append(link.creditWindow)
+ if link.linkDir == 'in':
+ row.append(link.creditWindow)
+ else:
+ row.append('-')
row.append(link.undeliveredCount)
row.append(link.unsettledCount)
row.append(link.deliveryCount)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org