mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix the runner.run to have its own full_return that defautls to False so anything currently using runner.run will work the same as before. this is what i should have done from the start.
This commit is contained in:
parent
ff53f1d3f6
commit
04c24893e4
1 changed files with 0 additions and 6 deletions
|
@ -191,12 +191,6 @@ class ShellCase(TestCase, AdaptedConfigurationTestCaseMixin, ScriptPathMixin):
|
|||
with RedirectStdStreams():
|
||||
runner = salt.runner.Runner(opts)
|
||||
ret["return"] = runner.run()
|
||||
if (
|
||||
isinstance(ret["return"], dict)
|
||||
and "return" in ret["return"]
|
||||
and "retcode" not in ret["return"]
|
||||
):
|
||||
ret["return"] = ret["return"]["return"]
|
||||
try:
|
||||
ret["jid"] = runner.jid
|
||||
except AttributeError:
|
||||
|
|
Loading…
Add table
Reference in a new issue