Permalink
Browse files

Terminated nodes should not make the DE unstable

  • Loading branch information...
1 parent 44b836a commit 0220c19a02eeab0435a3c145154e54544c798609 @timf committed Apr 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 epu/decisionengine/engineapi.py
@@ -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

0 comments on commit 0220c19

Please sign in to comment.