]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Storwize: Fix format string
authorEric Harney <eharney@redhat.com>
Mon, 14 Sep 2015 17:12:15 +0000 (13:12 -0400)
committerEric Harney <eharney@redhat.com>
Mon, 14 Sep 2015 17:12:15 +0000 (13:12 -0400)
String accidentally used %{count}s instead of %(count)s.

Change-Id: Ibe54927f4847f947f3a3053150ee3593e04595ee

cinder/volume/drivers/ibm/storwize_svc/helpers.py

index b0b53ddf2e97c6d12f3c247a74bf5c8a6802d2a7..79326ccfe7cd4ed5df8ba549f3b96b98999a03b2 100644 (file)
@@ -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)