The "LOG.warning" should correspond with "_LW"

1. What is the problem
    In central_plugin.py line 1398:
    LOG.warning(_LI('Internal port associated with floating ip '
    'does not exist in bottom pod.'))
    The "LOG.warning" should correspond with "_LW"
2. What is the solution to the problem
    LOG.warning(_LI should be "LOG.warning(_LW"
3. What the features need to be implemented to the Tricircle
    To realize the solution

Change-Id: I0522702510ce25607513c1b483486d3f535ae09d
Closes-Bug: #1646009
This commit is contained in:
zhangyanxian 2016-11-30 07:34:29 +00:00
parent 133c99b28d
commit 481cb56304
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ import tricircle.common.exceptions as t_exceptions
from tricircle.common.i18n import _
from tricircle.common.i18n import _LE
from tricircle.common.i18n import _LI
from tricircle.common.i18n import _LW
from tricircle.common import xrpcapi
import tricircle.db.api as db_api
from tricircle.db import core
@ -1395,7 +1396,7 @@ class TricirclePlugin(db_base_plugin_v2.NeutronDbPluginV2,
# top and bottom internal port, this is an inconsistent state,
# but since bottom internal port does not exist, no operation
# in bottom pod is required
LOG.warning(_LI('Internal port associated with floating ip '
LOG.warning(_LW('Internal port associated with floating ip '
'does not exist in bottom pod.'))
return