From 14477b00b14289cd849bf82445a1c30395088fdc Mon Sep 17 00:00:00 2001 From: iberezovskiy Date: Tue, 13 Oct 2015 14:31:35 +0300 Subject: [PATCH] Fix log formatting for rbd driver Change-Id: Id2d7d18fa3b91fbbad9c771c9de006f21e43d2ea Closes-bug: #1505633 --- cinder/volume/drivers/rbd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/volume/drivers/rbd.py b/cinder/volume/drivers/rbd.py index b3be6e1cb..afbc1c07b 100644 --- a/cinder/volume/drivers/rbd.py +++ b/cinder/volume/drivers/rbd.py @@ -857,8 +857,8 @@ class RBDDriver(driver.TransferVD, driver.ExtendVD, if image_meta['disk_format'] != 'raw': LOG.debug("rbd image clone requires image format to be " "'raw' but image %(image)s is '%(format)s'", - {"image", image_location, - "format", image_meta['disk_format']}) + {"image": image_location, + "format": image_meta['disk_format']}) return False # check that we can read the image -- 2.45.2