mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #33912 from abalashov/abalashov/fix-schedule-returner-config
utils/schedule.py:handle_func() - Fix for accessing returner configur…
This commit is contained in:
commit
8d8ed59b85
1 changed files with 4 additions and 4 deletions
|
@ -719,10 +719,10 @@ class Schedule(object):
|
|||
|
||||
data_returner = data.get('returner', None)
|
||||
if data_returner or self.schedule_returner:
|
||||
if 'returner_config' in data:
|
||||
ret['ret_config'] = data['returner_config']
|
||||
if 'returner_kwargs' in data:
|
||||
ret['ret_kwargs'] = data['returner_kwargs']
|
||||
if 'return_config' in data:
|
||||
ret['ret_config'] = data['return_config']
|
||||
if 'return_kwargs' in data:
|
||||
ret['ret_kwargs'] = data['return_kwargs']
|
||||
rets = []
|
||||
for returner in [data_returner, self.schedule_returner]:
|
||||
if isinstance(returner, str):
|
||||
|
|
Loading…
Add table
Reference in a new issue