]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Correct the message string
authorYangLei <yanglyy@cn.ibm.com>
Wed, 15 Oct 2014 10:59:31 +0000 (18:59 +0800)
committerYangLei <yanglyy@cn.ibm.com>
Wed, 15 Oct 2014 11:09:21 +0000 (19:09 +0800)
Change %(volumeid) to %(volumeid)s in message string.

Change-Id: Ia780a8687a784a6d8d8f0c5e6fe9b1a884416608
Closes-Bug: #1381464

cinder/volume/drivers/prophetstor/dpl_fc.py

index a266f7657200d7a07925c9c2535dd330edad3986..69a68f9ddc7baa99422ca42a35f716ca24c2127f 100644 (file)
@@ -147,7 +147,7 @@ class DPLFCDriver(dplcommon.DPLCOMMONDriver,
                 self._conver_uuid2hex(volumeid), targetwwpns,
                 initiatorwwpns, volumename)
         except Exception:
-            msg = _('Volume %(volumeid) failed to send assign command, '
+            msg = _('Volume %(volumeid)s failed to send assign command, '
                     'ret: %(status)s output: %(output)s') % \
                 {'volumeid': volumeid, 'status': ret, 'output': output}
             LOG.error(msg)