Author: ritchiem Date: Wed Oct 28 15:34:56 2009 New Revision: 830606 URL: http://svn.apache.org/viewvc?rev=830606&view=rev Log: QPID-2131: fix for dropped auth in cluster members
Modified: qpid/branches/0.5.x-dev/qpid/python/commands/qpid-stat Modified: qpid/branches/0.5.x-dev/qpid/python/commands/qpid-stat URL: http://svn.apache.org/viewvc/qpid/branches/0.5.x-dev/qpid/python/commands/qpid-stat?rev=830606&r1=830605&r2=830606&view=diff ============================================================================== --- qpid/branches/0.5.x-dev/qpid/python/commands/qpid-stat (original) +++ qpid/branches/0.5.x-dev/qpid/python/commands/qpid-stat Wed Oct 28 15:34:56 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-subscr...@qpid.apache.org