mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
print_jobs was duplicating results
The display output was indented at the wrong place, therefore adding results each time there's a return_data.
This commit is contained in:
parent
0143e78877
commit
cec5bf2710
@ -208,5 +208,6 @@ def print_job(job_id):
|
||||
'Target-type': load['tgt_type'],
|
||||
'User': load.get('user', 'root'),
|
||||
'Result': hosts_return}
|
||||
salt.output.display_output(ret, 'yaml', __opts__)
|
||||
|
||||
salt.output.display_output(ret, 'yaml', __opts__)
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user