From 65e7a4e96df6b39038b3245ef24f87e2675a67f6 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Mon, 14 Sep 2015 13:12:15 -0400 Subject: [PATCH] Storwize: Fix format string String accidentally used %{count}s instead of %(count)s. Change-Id: Ibe54927f4847f947f3a3053150ee3593e04595ee --- cinder/volume/drivers/ibm/storwize_svc/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/ibm/storwize_svc/helpers.py b/cinder/volume/drivers/ibm/storwize_svc/helpers.py index b0b53ddf2..79326ccfe 100644 --- a/cinder/volume/drivers/ibm/storwize_svc/helpers.py +++ b/cinder/volume/drivers/ibm/storwize_svc/helpers.py @@ -1065,7 +1065,7 @@ class StorwizeHelpers(object): if len(vdisks) != 1: msg = (_('Expected single vdisk returned from lsvdisk when ' - 'filtering on vdisk_UID. %{count}s were returned.') % + 'filtering on vdisk_UID. %(count)s were returned.') % {'count': len(vdisks)}) LOG.error(msg) raise exception.VolumeBackendAPIException(data=msg) -- 2.45.2