scrubber: dont print URI of image to be deleted
Print the ID not the URI of the image to to be scrubbed as the URI can contain credentials fixes bug lp# 1171851 Change-Id: Ice2d3d25a23bae31380759b87b50228ba358dcf1
This commit is contained in:
parent
4bc3e45894
commit
545cb15ed0
@ -136,7 +136,7 @@ class Scrubber(object):
|
||||
if CONF.metadata_encryption_key is not None:
|
||||
uri = crypt.urlsafe_decrypt(CONF.metadata_encryption_key, uri)
|
||||
try:
|
||||
LOG.debug(_("Deleting %(uri)s") % {'uri': uri})
|
||||
LOG.debug(_("Deleting %(id)s") % {'id': id})
|
||||
# Here we create a request context with credentials to support
|
||||
# delayed delete when using multi-tenant backend storage
|
||||
ctx = context.RequestContext(auth_tok=self.registry.auth_tok,
|
||||
|
Loading…
x
Reference in New Issue
Block a user