Bug #909538: Swift upload via Glance logs the password it's using
Don't log the key used when creating a Swift connection. Change-Id: Ia9e7e6b7a14a6169b844ab40eb6adafeaf6d5542
This commit is contained in:
parent
4d7f2afb1d
commit
7d61fefd26
@ -278,7 +278,7 @@ class Store(glance.store.base.Store):
|
||||
snet = self.snet
|
||||
logger.debug(_("Creating Swift connection with "
|
||||
"(auth_address=%(auth_url)s, user=%(user)s, "
|
||||
"key=%(key)s, snet=%(snet)s)") % locals())
|
||||
"snet=%(snet)s)") % locals())
|
||||
return swift_client.Connection(
|
||||
authurl=auth_url, user=user, key=key, snet=snet)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user