mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Only display error when tty is True in salt-ssh
This commit is contained in:
parent
6e0cb22c96
commit
6795d6aef0
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ class Single(object):
|
|||
|
||||
if '_error' in opts_pkg:
|
||||
#Refresh failed
|
||||
ret = json.dumps({'local': opts_pkg})
|
||||
ret = json.dumps({'local': opts_pkg['_error']})
|
||||
return ret
|
||||
|
||||
pillar = salt.pillar.Pillar(
|
||||
|
|
Loading…
Add table
Reference in a new issue