From: Michal Dulko Date: Thu, 19 Mar 2015 20:53:46 +0000 (+0100) Subject: Fix logging mistake in swift backup driver X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a83b93a0da44c37ce4ca7750c4cc1e0149263bf2;p=openstack-build%2Fcinder-build.git Fix logging mistake in swift backup driver After recent swift driver refactoring a small mistake was introduced causing c-bak to log an exception because of wrong number of arguments to format a string. This commit fixes the issue. Change-Id: I2e322ae6a2495771c89fa25ab5474da20eecc80d Closes-Bug: 1434188 --- diff --git a/cinder/backup/drivers/swift.py b/cinder/backup/drivers/swift.py index 479231586..1c302afc0 100644 --- a/cinder/backup/drivers/swift.py +++ b/cinder/backup/drivers/swift.py @@ -145,8 +145,8 @@ class SwiftBackupDriver(chunkeddriver.ChunkedBackupDriver): LOG.debug("Using swift URL %s", self.swift_url) self.swift_attempts = CONF.backup_swift_retry_attempts self.swift_backoff = CONF.backup_swift_retry_backoff - LOG.debug('Connect to %s in "%s" mode', (CONF.backup_swift_url, - CONF.backup_swift_auth)) + LOG.debug('Connect to %s in "%s" mode', CONF.backup_swift_url, + CONF.backup_swift_auth) if CONF.backup_swift_auth == 'single_user': if CONF.backup_swift_user is None: LOG.error(_LE("single_user auth mode enabled, "