Merge "Replace deprecated LOG.warn with LOG.warning"
This commit is contained in:
commit
1625fbc514
|
@ -426,8 +426,8 @@ class MongoApi(object):
|
||||||
'<%(c_name)s>, remove index <%(indx_name)s> '
|
'<%(c_name)s>, remove index <%(indx_name)s> '
|
||||||
'first to make updated mongo_ttl_seconds value '
|
'first to make updated mongo_ttl_seconds value '
|
||||||
'to be effective')
|
'to be effective')
|
||||||
LOG.warn(msg, {'c_name': coll_name,
|
LOG.warning(msg, {'c_name': coll_name,
|
||||||
'indx_name': indx_name})
|
'indx_name': indx_name})
|
||||||
|
|
||||||
def get(self, key):
|
def get(self, key):
|
||||||
criteria = {'_id': key}
|
criteria = {'_id': key}
|
||||||
|
|
Loading…
Reference in New Issue