From 7c58e709825a143ee1a8a2c037f454ead96adb24 Mon Sep 17 00:00:00 2001 From: jonnary Date: Mon, 15 Aug 2016 07:50:17 -0700 Subject: [PATCH] Fix string interpolation LOG formatted This allows the logging package to skip creating the formatted log message if the message is not going to be emitted because of the current log level. Reference: http://docs.openstack.org/developer/oslo.i18n/guidelines.html Change-Id: I5dafe3f852e290a727ed6c15532c3c0ed66d8d38 --- neutron_lbaas/drivers/radware/v2_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron_lbaas/drivers/radware/v2_driver.py b/neutron_lbaas/drivers/radware/v2_driver.py index 33c388475..0b7d3fe21 100644 --- a/neutron_lbaas/drivers/radware/v2_driver.py +++ b/neutron_lbaas/drivers/radware/v2_driver.py @@ -297,7 +297,7 @@ class RadwareLBaaSV2Driver(base_v2_driver.RadwareLBaaSBaseV2Driver): def remove_workflow(self, ctx, manager, lb): wf_name = self._get_wf_name(lb) - LOG.debug('Remove the workflow %s' % wf_name) + LOG.debug('Remove the workflow %s', wf_name) resource = '/api/workflow/%s' % (wf_name) rest_return = self.rest_client.call('DELETE', resource, None, None) response = _rest_wrapper(rest_return, [204, 202, 404])