mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Removing extra, unnecessary code.
This commit is contained in:
parent
549cfb8b7b
commit
8afd2d8b69
1 changed files with 1 additions and 2 deletions
|
@ -475,8 +475,7 @@ class Schedule(object):
|
|||
datetime.datetime.now())
|
||||
|
||||
# Grab run, assume True
|
||||
run = data.get('run', True)
|
||||
if run:
|
||||
if data.get('run'):
|
||||
log.info('Running Job: %s', name)
|
||||
self._run_job(func, data)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue