From 7d61fefd26d396d5f4035484c9135f5c80623ff9 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Wed, 28 Dec 2011 21:33:54 -0800 Subject: [PATCH] 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 --- glance/store/swift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glance/store/swift.py b/glance/store/swift.py index 11aaf14024..876e1ea1a4 100644 --- a/glance/store/swift.py +++ b/glance/store/swift.py @@ -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)