From fa50fb7238e5957e550106c6f5637b4b46d20ed2 Mon Sep 17 00:00:00 2001 From: Sukhdev Date: Fri, 16 Jan 2015 12:12:12 -0800 Subject: [PATCH] Fixing a log message in Arista L3 Service Plugin In a previous patch see here - https://review.openstack.org/123886, couple of messages were wrong. This patch is to fix the log message. Change-Id: I645396cbc2f6d2d862a9f4784eeb59475f321346 Closes-bug: 1373652 --- neutron/plugins/ml2/drivers/arista/arista_l3_driver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neutron/plugins/ml2/drivers/arista/arista_l3_driver.py b/neutron/plugins/ml2/drivers/arista/arista_l3_driver.py index f41aed279..98dfe7445 100644 --- a/neutron/plugins/ml2/drivers/arista/arista_l3_driver.py +++ b/neutron/plugins/ml2/drivers/arista/arista_l3_driver.py @@ -273,7 +273,7 @@ class AristaL3Driver(object): if self.mlag_configured and not mlag_peer_failed: mlag_peer_failed = True else: - msg = (_('Failed to create router %s on EOS') % + msg = (_LE('Failed to delete router %s from EOS') % router_name) LOG.exception(msg) raise arista_exc.AristaServicePluginRpcError(msg=msg) @@ -347,8 +347,8 @@ class AristaL3Driver(object): if self.mlag_configured and not mlag_peer_failed: mlag_peer_failed = True else: - msg = (_('Failed to add interface to router ' - '%s on EOS') % router_name) + msg = (_LE('Failed to remove interface from router ' + '%s on EOS') % router_name) LOG.exception(msg) raise arista_exc.AristaServicePluginRpcError(msg=msg) -- 2.45.2