Author: justi9
Date: 2009-08-10 11:34:51 -0400 (Mon, 10 Aug 2009)
New Revision: 3554
Modified:
mgmt/trunk/cumin/python/cumin/grid/pool.py
Log:
Make the pool stat code resilient to multiple collectors for the same pool id
Modified: mgmt/trunk/cumin/python/cumin/grid/pool.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/grid/pool.py 2009-08-07 18:16:41 UTC (rev 3553)
+++ mgmt/trunk/cumin/python/cumin/grid/pool.py 2009-08-10 15:34:51 UTC (rev 3554)
@@ -277,8 +277,8 @@
return pool.name
def get_collector_args(self, session):
- pool = self.frame.get_args(session)[0]
- return Collector.select("pool='%s'" % pool.id)
+ args = self.frame.get_args(session)
+ return (args[0].collector,)
class CollectorStatSet(StatSet):
def get_args(self, session):
Show replies by date