Author: eallen
Date: 2008-11-06 11:06:16 -0500 (Thu, 06 Nov 2008)
New Revision: 2758
Modified:
mgmt/trunk/cumin/python/cumin/model.py
Log:
Fix bug in ajax call that updated the scheduler and collector status box.
Modified: mgmt/trunk/cumin/python/cumin/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/model.py 2008-11-06 16:04:46 UTC (rev 2757)
+++ mgmt/trunk/cumin/python/cumin/model.py 2008-11-06 16:06:16 UTC (rev 2758)
@@ -2354,7 +2354,7 @@
job.SetAttribute(self.model.data, completion, Name, str(Value))
class GetStartedAction(CuminAction):
- def do_invoke(self, object):
+ def get_xml_response(self, session, object, *args):
confidence = self.started_confidence(object)
recTime = object.statsCurr and object.statsCurr.recTime or object.recTime
conf = "<confidence>%d</confidence>" % confidence
@@ -2614,7 +2614,7 @@
return "Stop"
class GetLimitCount(CuminAction):
- def get_xml_response(self, session, negotiator):
+ def get_xml_response(self, session, negotiator, *args):
action = self.model.negotiator.GetLimits
limits = action.do_invoke(negotiator)
error = "False"
Show replies by date