From fbd04f71ed28efc85e51465527e91c21bd0d7328 Mon Sep 17 00:00:00 2001 From: YangLei Date: Wed, 15 Oct 2014 18:59:31 +0800 Subject: [PATCH] Correct the message string Change %(volumeid) to %(volumeid)s in message string. Change-Id: Ia780a8687a784a6d8d8f0c5e6fe9b1a884416608 Closes-Bug: #1381464 --- cinder/volume/drivers/prophetstor/dpl_fc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/prophetstor/dpl_fc.py b/cinder/volume/drivers/prophetstor/dpl_fc.py index a266f7657..69a68f9dd 100644 --- a/cinder/volume/drivers/prophetstor/dpl_fc.py +++ b/cinder/volume/drivers/prophetstor/dpl_fc.py @@ -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) -- 2.45.2