mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Per #39710, missing parameter in the schedule.add function
This commit is contained in:
parent
7b4865c058
commit
63eb610245
1 changed files with 3 additions and 2 deletions
|
@ -359,8 +359,9 @@ def build_schedule_item(name, **kwargs):
|
|||
else:
|
||||
schedule[name]['splay'] = kwargs['splay']
|
||||
|
||||
for item in ['range', 'when', 'once', 'once_fmt', 'cron', 'returner',
|
||||
'return_config', 'return_kwargs', 'until', 'run_on_start']:
|
||||
for item in ['range', 'when', 'once', 'once_fmt', 'cron',
|
||||
'returner', 'after', 'return_config', 'return_kwargs',
|
||||
'until', 'run_on_start']:
|
||||
if item in kwargs:
|
||||
schedule[name][item] = kwargs[item]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue