mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #20305 from rallytime/bp-20216
Backport #20216 to 2014.7
This commit is contained in:
commit
8ed1daba67
@ -270,6 +270,8 @@ class SaltCMD(parsers.SaltCMDOptionParser):
|
||||
if isinstance(ret, str):
|
||||
self.exit(2, '{0}\n'.format(ret))
|
||||
for host in ret:
|
||||
if ret[host] == 'Minion did not return. [Not connected]':
|
||||
continue
|
||||
for fun in ret[host]:
|
||||
if fun not in docs:
|
||||
if ret[host][fun]:
|
||||
|
Loading…
Reference in New Issue
Block a user