Merge "Still wait for hooks on failed resources"
This commit is contained in:
commit
2e4902532a
|
@ -485,7 +485,7 @@ class Resource(object):
|
||||||
% {'a': action, 'h': hook})
|
% {'a': action, 'h': hook})
|
||||||
LOG.info(_LI('Reached hook on %s'), self)
|
LOG.info(_LI('Reached hook on %s'), self)
|
||||||
|
|
||||||
while self.has_hook(hook) and self.status != self.FAILED:
|
while self.has_hook(hook):
|
||||||
try:
|
try:
|
||||||
yield
|
yield
|
||||||
except BaseException as exc:
|
except BaseException as exc:
|
||||||
|
|
Loading…
Reference in New Issue