Replace deprecated LOG.warn with LOG.warning

LOG.warn is deprecated. It still used in a few places.
Updated to non-deprecated LOG.warning.

Change-Id: Ia78851fc4624328a43ab717f474b136326a0b789
Closes-Bug:#1508442
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-01-06 16:16:45 +05:30
parent 2f60aaf95d
commit 3290a438a9
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ class IPManager(base.Manager):
# that adding/removing them will fail. A failure to apply one of
# these custom rules, however, should *not* cause an overall router
# failure.
LOG.warn('Route could not be %sed: %s' % (action, unicode(e)))
LOG.warning('Route could not be %sed: %s' % (action, unicode(e)))
return False
def disable_duplicate_address_detection(self, network):