From 798f9312547f1d4bd93a16f9fc942bc8be6f7293 Mon Sep 17 00:00:00 2001 From: "Walter A. Boring IV" Date: Wed, 14 Jan 2015 23:38:34 +0000 Subject: [PATCH] Fix LOG formatting in api initialize_connection initialize_connection had invalid formatting characters in the LOG entry. Change-Id: I6bd8c7b374ba4c23001a98f2fda0705696e9d47c Closes-Bug: #1411026 --- cinder/volume/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/volume/api.py b/cinder/volume/api.py index 0976ecb0a..fe0066078 100644 --- a/cinder/volume/api.py +++ b/cinder/volume/api.py @@ -505,8 +505,8 @@ class API(base.Base): @wrap_check_policy def initialize_connection(self, context, volume, connector): - LOG.debug('initialize connection for volume-id: %{volid}s, and ' - 'connector: %{connector}s', {'volid': volume['id'], + LOG.debug('initialize connection for volume-id: %(volid)s, and ' + 'connector: %(connector)s', {'volid': volume['id'], 'connector': connector}) return self.volume_rpcapi.initialize_connection(context, volume, -- 2.45.2