Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Terminated nodes should not make the DE unstable

  • Loading branch information...
commit 0220c19a02eeab0435a3c145154e54544c798609 1 parent 44b836a
Tim Freeman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  epu/decisionengine/engineapi.py
2  epu/decisionengine/engineapi.py
View
@@ -86,7 +86,7 @@ def _set_state(self, all_instance_lists, needed_num):
for instance_list in all_instance_lists:
# Important to get last item, most recent state
one_state_item = instance_list[-1]
- if one_state_item.value != InstanceStates.RUNNING:
+ if one_state_item.value < InstanceStates.RUNNING:
self.de_state = de_states.PENDING
return
Please sign in to comment.
Something went wrong with that request. Please try again.