Author: eallen
Date: 2010-09-27 13:31:00 -0400 (Mon, 27 Sep 2010)
New Revision: 4350
Modified:
mgmt/newdata/cumin/python/cumin/grid/pool.py
Log:
Use collector.pool == negotiator.name when finding a negotiator.
Todo: remove the check for multiple negotiators per collector.
Modified: mgmt/newdata/cumin/python/cumin/grid/pool.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/grid/pool.py 2010-09-27 17:07:06 UTC (rev 4349)
+++ mgmt/newdata/cumin/python/cumin/grid/pool.py 2010-09-27 17:31:00 UTC (rev 4350)
@@ -107,7 +107,7 @@
pool = self.collector.get(session)
if pool:
- negotiators = cls.get_selection(session.cursor, Pool=pool.Name)
+ negotiators = cls.get_selection(session.cursor, Pool=pool.Pool)
# use the most recently updated one if there are multiple
if len(negotiators) > 0:
recent_negotiator = negotiators[0]