Merge "Removed dispose_pool() from db/api"
This commit is contained in:
commit
1020c515c9
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue