Merge "Still wait for hooks on failed resources"

This commit is contained in:
Jenkins 2017-03-03 16:48:35 +00:00 committed by Gerrit Code Review
commit 2e4902532a
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ class Resource(object):
% {'a': action, 'h': hook})
LOG.info(_LI('Reached hook on %s'), self)
while self.has_hook(hook) and self.status != self.FAILED:
while self.has_hook(hook):
try:
yield
except BaseException as exc: