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:
parent
2f60aaf95d
commit
3290a438a9
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue