Author: eallen
Date: 2008-10-21 16:31:38 -0400 (Tue, 21 Oct 2008)
New Revision: 2671
Modified:
mgmt/trunk/cumin/python/cumin/scheduler.py
Log:
Tied scheduler start/stop into master
Modified: mgmt/trunk/cumin/python/cumin/scheduler.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/scheduler.py 2008-10-21 20:31:18 UTC (rev 2670)
+++ mgmt/trunk/cumin/python/cumin/scheduler.py 2008-10-21 20:31:38 UTC (rev 2671)
@@ -172,8 +172,8 @@
def process_item(self, session, item):
scheduler = Scheduler.get(item)
- action = self.app.model.scheduler.start
- action.invoke(scheduler)
+ action = self.app.model.master.start
+ action.invoke(scheduler, {"subsystem": "SCHEDD"})
self.process_cancel(session)
class SchedulerStop(CuminBulkActionForm):
@@ -188,7 +188,7 @@
def process_item(self, session, item):
scheduler = Scheduler.get(item)
- action = self.app.model.scheduler.stop
- action.invoke(scheduler)
+ action = self.app.model.master.stop
+ action.invoke(scheduler, {"subsystem": "SCHEDD"})
self.process_cancel(session)
Show replies by date