rename scheduler config singleton

This commit is contained in:
Chris Meyers
2016-11-01 14:07:00 -05:00
parent e1a84f4c85
commit 25b85c4a0b
3 changed files with 4 additions and 4 deletions

View File

@@ -137,7 +137,7 @@ def cluster_node_heartbeat(self):
@task(bind=True, queue='default')
def tower_periodic_scheduler(self):
run_now = now()
state = TowerState.get_solo()
state = TowerScheduleState.get_solo()
last_run = state.schedule_last_run
logger.debug("Last run was: %s", last_run)
state.schedule_last_run = run_now