You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ns...@apache.org on 2009/10/20 17:38:35 UTC
svn commit: r827701 - /qpid/trunk/qpid/python/commands/qpid-stat
Author: nsantos
Date: Tue Oct 20 15:38:35 2009
New Revision: 827701
URL: http://svn.apache.org/viewvc?rev=827701&view=rev
Log:
QPID-2131: fix for dropped auth in cluster members
Modified:
qpid/trunk/qpid/python/commands/qpid-stat
Modified: qpid/trunk/qpid/python/commands/qpid-stat
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/commands/qpid-stat?rev=827701&r1=827700&r2=827701&view=diff
==============================================================================
--- qpid/trunk/qpid/python/commands/qpid-stat (original)
+++ qpid/trunk/qpid/python/commands/qpid-stat Tue Oct 20 15:38:35 2009
@@ -388,8 +388,12 @@
hostList = self._getHostList(memberList)
self.qmf.delBroker(self.broker)
self.broker = None
+ if _host.find("@") > 0:
+ authString = _host.split("@")[0] + "@"
+ else:
+ authString = ""
for host in hostList:
- b = self.qmf.addBroker(host, _connTimeout)
+ b = self.qmf.addBroker(authString + host, _connTimeout)
self.brokers.append(Broker(self.qmf, b))
else:
self.brokers.append(Broker(self.qmf, self.broker))
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org