mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #36025 from cloudflare/CF-FIX-36021
Potential fix for #36021
This commit is contained in:
commit
d9d477ed45
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ class SyncClientMixin(object):
|
|||
kwargs = low['kwargs']
|
||||
|
||||
# Update the event data with loaded args and kwargs
|
||||
data['fun_args'] = args + ([kwargs] if kwargs else [])
|
||||
data['fun_args'] = list(args) + ([kwargs] if kwargs else [])
|
||||
func_globals['__jid_event__'].fire_event(data, 'new')
|
||||
|
||||
# Initialize a context for executing the method.
|
||||
|
|
Loading…
Add table
Reference in a new issue