Merge "Do not show access_key in s3 driver"

This commit is contained in:
Zuul 2024-01-19 15:03:04 +00:00 committed by Gerrit Code Review
commit 398bc020d7
1 changed files with 2 additions and 4 deletions

View File

@ -623,10 +623,8 @@ class Store(glance_store.driver.Store):
raise glance_store.BackendException(msg)
LOG.debug("Adding image object to S3 using (s3_host=%(s3_host)s, "
"access_key=%(access_key)s, bucket=%(bucket)s, "
"key=%(key)s)",
{'s3_host': self.s3_host, 'access_key': loc.accesskey,
'bucket': bucket, 'key': key})
"bucket=%(bucket)s, key=%(key)s)",
{'s3_host': self.s3_host, 'bucket': bucket, 'key': key})
if not self._object_exists(s3_client, bucket, key):
if image_size < self.s3_store_large_object_size: