From: iberezovskiy Date: Tue, 13 Oct 2015 11:31:35 +0000 (+0300) Subject: Fix log formatting for rbd driver X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=14477b00b14289cd849bf82445a1c30395088fdc;p=openstack-build%2Fcinder-build.git Fix log formatting for rbd driver Change-Id: Id2d7d18fa3b91fbbad9c771c9de006f21e43d2ea Closes-bug: #1505633 --- 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