mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix traceback in CLI output when value is trimmed
The comparison here was looking for the wrong string, causing the trimmed value not to be detected and leading to a traceback several lines later.
This commit is contained in:
parent
91b848debb
commit
966ad07452
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ class SaltCMD(parsers.SaltCMDOptionParser):
|
|||
for host in ret:
|
||||
if isinstance(ret[host], string_types) \
|
||||
and (ret[host].startswith("Minion did not return")
|
||||
or ret[host] == 'VALUE TRIMMED'):
|
||||
or ret[host] == 'VALUE_TRIMMED'):
|
||||
continue
|
||||
for fun in ret[host]:
|
||||
if fun not in docs and ret[host][fun]:
|
||||
|
|
Loading…
Add table
Reference in a new issue