mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Debugging tests
This commit is contained in:
parent
581f650d6e
commit
ded5813ead
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ def run_salt_call(cmd):
|
|||
"""
|
||||
cmd.append("--out=json")
|
||||
result = subprocess.run(cmd, capture_output=True, text=True)
|
||||
print(f"DGM run_salt_call, cmd '{cmd}', result '{result}'", flush=True)
|
||||
json_data = json.loads(result.stdout)
|
||||
return json_data["local"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue