mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #32218 from cachedout/issue_31501
Only display error when tty is True in salt-ssh
This commit is contained in:
commit
3309ff6a29
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