Merge "Replace deprecated LOG.warn with LOG.warning"

This commit is contained in:
Jenkins 2016-01-07 16:43:56 +00:00 committed by Gerrit Code Review
commit 1625fbc514
1 changed files with 2 additions and 2 deletions

View File

@ -426,8 +426,8 @@ 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,
'indx_name': indx_name})
LOG.warning(msg, {'c_name': coll_name,
'indx_name': indx_name})
def get(self, key):
criteria = {'_id': key}