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:
James Cammarata 2016-05-11 19:10:30 -04:00
parent 37737ca6c1
commit 9d9a451b34

View file

@ -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