Merge "[Trivial]Add missing print parameters in log messages"
This commit is contained in:
commit
5126ca0242
@ -181,7 +181,10 @@ class ImagesController(object):
|
|||||||
'expire': (expiry - age).total_seconds()})
|
'expire': (expiry - age).total_seconds()})
|
||||||
else:
|
else:
|
||||||
LOG.debug('Image %(image)s has import task %(task)s in status '
|
LOG.debug('Image %(image)s has import task %(task)s in status '
|
||||||
'%(status)s and does not qualify for expiry.')
|
'%(status)s and does not qualify for expiry.',
|
||||||
|
{'image': image.image_id,
|
||||||
|
'task': task.task_id,
|
||||||
|
'status': task.status})
|
||||||
raise exception.Conflict('Image has active task')
|
raise exception.Conflict('Image has active task')
|
||||||
|
|
||||||
def _cleanup_stale_task_progress(self, image_repo, image, task):
|
def _cleanup_stale_task_progress(self, image_repo, image, task):
|
||||||
|
Loading…
Reference in New Issue
Block a user