Fix bug from 2017, by removing unwanted comma.

fda41ede76 (diff-f6c5d53219e55de2e0d3321b81d1041965330dfd79f2f9eecb269df8ba829611R719)

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-10-10 15:25:22 +01:00 committed by Megan Wilhite
parent 0d904c2d79
commit 13a8f69153
2 changed files with 2 additions and 1 deletions

1
changelog/65372.fixed.md Normal file
View file

@ -0,0 +1 @@
Test mode for state function `saltmod.wheel` no longer set's `result` to `(None,)`

View file

@ -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