Merge "Use correct section for log message if interface_driver import fails"

This commit is contained in:
Jenkins 2014-08-01 22:23:16 +00:00 committed by Gerrit Code Review
commit 883c7a0018

View File

@ -74,7 +74,7 @@ class HaproxyNSDriver(agent_device_driver.AgentDeviceDriver):
except ImportError: except ImportError:
with excutils.save_and_reraise_exception(): with excutils.save_and_reraise_exception():
msg = (_('Error importing interface driver: %s') msg = (_('Error importing interface driver: %s')
% conf.haproxy.interface_driver) % conf.interface_driver)
LOG.error(msg) LOG.error(msg)
self.vif_driver = vif_driver self.vif_driver = vif_driver