Merge pull request #27099 from plastikos/bug-fix_summary2

Fix access to ret parameter of _print_returns_summary() (reverts 54b33dd359 #24732)
This commit is contained in:
Mike Place 2015-09-14 13:55:39 -06:00
commit 5bc3b968ad

View File

@ -250,7 +250,7 @@ class SaltCMD(parsers.SaltCMDOptionParser):
not_response_minions = []
not_connected_minions = []
for each_minion in ret:
minion_ret = ret[each_minion]
minion_ret = ret[each_minion].get('ret')
if (
isinstance(minion_ret, string_types)
and minion_ret.startswith("Minion did not return")