Merge "Removed dispose_pool() from db/api"

This commit is contained in:
Jenkins 2016-11-11 04:12:55 +00:00 committed by Gerrit Code Review
commit 1020c515c9
1 changed files with 0 additions and 6 deletions

View File

@ -16,7 +16,6 @@
import contextlib
import copy
from debtcollector import removals
from neutron_lib import exceptions
from oslo_config import cfg
from oslo_db import api as oslo_db_api
@ -189,11 +188,6 @@ def exc_to_retry(etypes):
raise db_exc.RetryRequest(e)
@removals.remove(version='newton', removal_version='Ocata')
def dispose():
context_manager.dispose_pool()
#TODO(akamyshnikova): when all places in the code, which use sessions/
# connections will be updated, this won't be needed
def get_session(autocommit=True, expire_on_commit=False, use_slave=False):