[rhmessaging-commits] rhmessaging commits: r3109 - mgmt/trunk/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Feb 5 13:53:07 EST 2009


Author: justi9
Date: 2009-02-05 13:53:07 -0500 (Thu, 05 Feb 2009)
New Revision: 3109

Modified:
   mgmt/trunk/cumin/python/cumin/broker.py
   mgmt/trunk/cumin/python/cumin/broker.strings
Log:
Fix crash on cluster column sort

Modified: mgmt/trunk/cumin/python/cumin/broker.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/broker.py	2009-02-04 22:16:44 UTC (rev 3108)
+++ mgmt/trunk/cumin/python/cumin/broker.py	2009-02-05 18:53:07 UTC (rev 3109)
@@ -128,7 +128,7 @@
             return "Cluster"
 
         def render_content(self, session, data):
-            return data["cluster_name"] or fmt_none()
+            return data["cluster"] or fmt_none()
 
 class TopBrokerSet(CuminTable):
     def __init__(self, app, name):

Modified: mgmt/trunk/cumin/python/cumin/broker.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/broker.strings	2009-02-04 22:16:44 UTC (rev 3108)
+++ mgmt/trunk/cumin/python/cumin/broker.strings	2009-02-05 18:53:07 UTC (rev 3109)
@@ -1,5 +1,5 @@
 [BrokerSet.sql]
-select br.id, br.name, c.cluster_name
+select br.id, br.name, c.cluster_name as cluster
 from broker_registration as br
 left outer join broker as b on b.registration_id = br.id
 left outer join cluster as c on c.broker_id = b.id




More information about the rhmessaging-commits mailing list