mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29603 from basepi/orchestrate.failures.29546
Fix orchestration failure-checking
This commit is contained in:
commit
1e394f5ab1
1 changed files with 2 additions and 2 deletions
|
@ -248,13 +248,13 @@ def state(
|
|||
m_ret = mdata['ret']
|
||||
except KeyError:
|
||||
m_state = False
|
||||
if not m_state:
|
||||
if m_state:
|
||||
m_state = salt.utils.check_state_result(m_ret)
|
||||
|
||||
if not m_state:
|
||||
if minion not in fail_minions:
|
||||
fail.add(minion)
|
||||
failures[minion] = m_ret and m_ret or 'Minion did not respond'
|
||||
failures[minion] = m_ret or 'Minion did not respond'
|
||||
continue
|
||||
for state_item in six.itervalues(m_ret):
|
||||
if state_item['changes']:
|
||||
|
|
Loading…
Add table
Reference in a new issue