Simply being in an always block shouldn't mean a host did not fail
Previously the changed code was necessary, however it is now problematic as we've started using the is_failed() method in other places in the code. Additional changes at the strategy layer should make this safe to remove now. Fixes #15625
This commit is contained in:
parent
3a052654f3
commit
1c2f0ae8f7
1 changed files with 1 additions and 2 deletions
|
@ -475,8 +475,7 @@ class PlayIterator:
|
||||||
if state is None:
|
if state is None:
|
||||||
return False
|
return False
|
||||||
elif state.fail_state != self.FAILED_NONE:
|
elif state.fail_state != self.FAILED_NONE:
|
||||||
if state.run_state == self.ITERATING_RESCUE and state.fail_state&self.FAILED_RESCUE == 0 or \
|
if state.run_state == self.ITERATING_RESCUE and state.fail_state&self.FAILED_RESCUE == 0:
|
||||||
state.run_state == self.ITERATING_ALWAYS and state.fail_state&self.FAILED_ALWAYS == 0:
|
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue