summaryrefslogtreecommitdiff
path: root/oslo_db
diff options
context:
space:
mode:
authorzhangyangyang <zhangyangyang@unionpay.com>2017-09-03 21:20:44 +0800
committerzhangyangyang <zhangyangyang@unionpay.com>2017-09-03 21:20:44 +0800
commitecaa1a39a8eb542e782ed243c99f070f8e1aaf34 (patch)
treea7ff40feb685edf81b76010e4240cfa640f6dbdb /oslo_db
parente9a9701d54ea1b708e7fc3ef68e75eb288059632 (diff)
downloadoslo-db-ecaa1a39a8eb542e782ed243c99f070f8e1aaf34.tar.gz
Remove method provisioned_engine in class Backend
This method is useless in class Backend. So this method is deprecated for removal. Change-Id: I4f2aa180e5506172776ffc6f5e2a0111dacc5594 Closes-Bug:#1714776
Diffstat (limited to 'oslo_db')
-rw-r--r--oslo_db/sqlalchemy/provision.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/oslo_db/sqlalchemy/provision.py b/oslo_db/sqlalchemy/provision.py
index c7d13d4..263a356 100644
--- a/oslo_db/sqlalchemy/provision.py
+++ b/oslo_db/sqlalchemy/provision.py
@@ -361,17 +361,6 @@ class Backend(object):
"""
return self.impl.provisioned_database_url(self.url, ident)
- @debtcollector.removals.remove()
- def provisioned_engine(self, ident):
- """Given the URL of a particular database backend and the string
-
- name of a particular 'database' within that backend, return
- an Engine instance whose connections will refer directly to the
- named database.
-
- """
- return self.impl.provisioned_engine(self.url, ident)
-
@classmethod
def _setup(cls):
"""Initial startup feature will scan the environment for configured