Fix TypeError in tempest retry functionality

When we get error with share creation and retry is enabled log message
is combined. But formatting was with mistake. It expected named/mapped
formating but got positioned formatting.

Change-Id: If80a31beca54ac4193b7b72b8c49c928b18d356f
Closes-Bug: #1408069
This commit is contained in:
vponomaryov 2015-01-06 21:16:20 +02:00
parent d934530b80
commit acc00e3023
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ class BaseSharesTest(test.BaseTestCase):
exceptions.TimeoutException) as e:
if CONF.share.share_creation_retry_number > d["cnt"]:
d["cnt"] += 1
msg = ("Share '%(id)s' failed to be built. "
msg = ("Share '%s' failed to be built. "
"Trying create another." % d["share"]["id"])
LOG.error(msg)
LOG.error(e)