mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Fix bug from 2017, by removing unwanted comma.
fda41ede76 (diff-f6c5d53219e55de2e0d3321b81d1041965330dfd79f2f9eecb269df8ba829611R719)
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
0d904c2d79
commit
13a8f69153
2 changed files with 2 additions and 1 deletions
1
changelog/65372.fixed.md
Normal file
1
changelog/65372.fixed.md
Normal file
|
@ -0,0 +1 @@
|
|||
Test mode for state function `saltmod.wheel` no longer set's `result` to `(None,)`
|
|
@ -1041,7 +1041,7 @@ def wheel(name, **kwargs):
|
|||
jid = None
|
||||
|
||||
if __opts__.get("test", False):
|
||||
ret["result"] = (None,)
|
||||
ret["result"] = None
|
||||
ret["changes"] = {}
|
||||
ret["comment"] = "Wheel function '{}' would be executed.".format(name)
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue