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: I68f4ccdd3cc5923ef1db40a80857a915e4e583e1 Closes-Bug:#1508442
This commit is contained in:
parent
07eccf298c
commit
baf8dbdafd
@ -426,7 +426,7 @@ class MongoApi(object):
|
||||
'<%(c_name)s>, remove index <%(indx_name)s> '
|
||||
'first to make updated mongo_ttl_seconds value '
|
||||
'to be effective')
|
||||
LOG.warn(msg, {'c_name': coll_name,
|
||||
LOG.warning(msg, {'c_name': coll_name,
|
||||
'indx_name': indx_name})
|
||||
|
||||
def get(self, key):
|
||||
|
Loading…
x
Reference in New Issue
Block a user