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
This commit is contained in:
jonnary 2016-08-15 07:50:17 -07:00 committed by Stephen Balukoff
parent 970dd373e3
commit 7c58e70982
1 changed files with 1 additions and 1 deletions

View File

@ -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])