Skip to content

Commit

Permalink
Bug #909538: Swift upload via Glance logs the password it's using
Browse files Browse the repository at this point in the history
Don't log the key used when creating a Swift connection.

(cherry picked from commit 7d61fef)

Change-Id: Ia9e7e6b7a14a6169b844ab40eb6adafeaf6d5542
  • Loading branch information
Ewan Mellor authored and markmc committed Jan 6, 2012
1 parent 845646e commit 97cbf81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glance/store/swift.py
Expand Up @@ -269,7 +269,7 @@ def _make_swift_connection(self, auth_url, user, key):
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)

Expand Down

0 comments on commit 97cbf81

Please sign in to comment.