mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Fix Salt Syndic return events missing fun_args
This fixes issue #45823 which is the fun_args value missing from the Salt Syndic returns.
This commit is contained in:
parent
76d47e7f7b
commit
e1f4863039
3 changed files with 4 additions and 3 deletions
1
changelog/45823.fixed
Normal file
1
changelog/45823.fixed
Normal file
|
@ -0,0 +1 @@
|
|||
Fix fun_args missing from syndic returns
|
|
@ -1743,8 +1743,8 @@ class AESFuncs(TransportMethods):
|
|||
ret["master_id"] = load["master_id"]
|
||||
if "fun" in load:
|
||||
ret["fun"] = load["fun"]
|
||||
if "arg" in load:
|
||||
ret["fun_args"] = load["arg"]
|
||||
if "fun_args" in load:
|
||||
ret["fun_args"] = load["fun_args"]
|
||||
if "out" in load:
|
||||
ret["out"] = load["out"]
|
||||
if "sig" in load:
|
||||
|
|
|
@ -3683,7 +3683,7 @@ class SyndicManager(MinionBase):
|
|||
# __'s to make sure it doesn't print out on the master cli
|
||||
jdict["__master_id__"] = master
|
||||
ret = {}
|
||||
for key in "return", "retcode", "success":
|
||||
for key in "return", "retcode", "success", "fun_args":
|
||||
if key in data:
|
||||
ret[key] = data[key]
|
||||
jdict[data["id"]] = ret
|
||||
|
|
Loading…
Add table
Reference in a new issue