Merge "Log when we bail out without checking a resource"

This commit is contained in:
Zuul 2018-02-07 14:34:36 +00:00 committed by Gerrit Code Review
commit 6fc5c31d90
1 changed files with 3 additions and 0 deletions

View File

@ -304,6 +304,9 @@ class CheckResource(object):
if is_update:
if (rsrc.replaced_by is not None and
rsrc.current_template_id != tmpl.id):
LOG.debug('Resource %s with id %s already replaced by %s; '
'not checking',
rsrc.name, resource_id, rsrc.replaced_by)
return
try: