Merge "Refetch task"
This commit is contained in:
commit
9f9cc8a651
|
@ -179,10 +179,8 @@ class StrategyModule(BASE.TripleoBase):
|
||||||
# that have tasks in queue
|
# that have tasks in queue
|
||||||
self._blocked_hosts[host_name] = True
|
self._blocked_hosts[host_name] = True
|
||||||
|
|
||||||
# we already have the task and state from our peek call so we don't
|
# Refetch the task without peek
|
||||||
# need these again. This call just pops it of the task list for the
|
(_, task) = self._iterator.get_next_task_for_host(host)
|
||||||
# host.
|
|
||||||
(_, _) = self._iterator.get_next_task_for_host(host)
|
|
||||||
action = self._get_action(task)
|
action = self._get_action(task)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue