kgiusti commented on a change in pull request #586: DISPATCH-1411 - Added UTC 
datetime and router id to all options of qd…
URL: https://github.com/apache/qpid-dispatch/pull/586#discussion_r335038195
 
 

 ##########
 File path: tools/qdstat.in
 ##########
 @@ -155,7 +155,19 @@ class BusManager(Node):
             return text[:-1]
         return text
 
-    def displayEdges(self):
+    def displayRouterId(self):
+        objects = self.query('org.apache.qpid.dispatch.router')
+        router = objects[0]
+        if router:
+            print (router.id)
 
 Review comment:
   Please remove the space between the print and it's argument list.
   This is not PEP8 compliant and will cause python lint checkers to flag it as 
a violation.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to