Skip to content

Commit 5126ca0

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "[Trivial]Add missing print parameters in log messages"
2 parents c5bf4d4 + 179d111 commit 5126ca0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

glance/api/v2/images.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,10 @@ def _enforce_import_lock(self, req, image):
181181
'expire': (expiry - age).total_seconds()})
182182
else:
183183
LOG.debug('Image %(image)s has import task %(task)s in status '
184-
'%(status)s and does not qualify for expiry.')
184+
'%(status)s and does not qualify for expiry.',
185+
{'image': image.image_id,
186+
'task': task.task_id,
187+
'status': task.status})
185188
raise exception.Conflict('Image has active task')
186189

187190
def _cleanup_stale_task_progress(self, image_repo, image, task):

0 commit comments

Comments
 (0)