From 8ce8de1af9f2bf2c5ecee104835e543b87a1fe9b Mon Sep 17 00:00:00 2001 From: zhufl Date: Mon, 25 Jul 2016 14:24:15 +0800 Subject: [PATCH] :Add missing %s in print message This is to add some missing %s in print message Change-Id: Ifd4e59265bd976b817191a41e7854613f71539dd --- nova/volume/encryptors/cryptsetup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/volume/encryptors/cryptsetup.py b/nova/volume/encryptors/cryptsetup.py index 32bea39a2..fa690db6c 100644 --- a/nova/volume/encryptors/cryptsetup.py +++ b/nova/volume/encryptors/cryptsetup.py @@ -83,7 +83,7 @@ class CryptsetupEncryptor(base.VolumeEncryptor): # normal disk or multipath device), exit_code will be 1. In the # case, we will omit the warning message. if e.exit_code != 1: - LOG.warning(_LW('cryptsetup status %(dev_name) exited ' + LOG.warning(_LW('cryptsetup status %(dev_name)s exited ' 'abnormally (status %(exit_code)s): %(err)s'), {"dev_name": dev_name, "exit_code": e.exit_code, "err": e.stderr})