diff options
author | Michael Johnson <johnsomor@gmail.com> | 2022-12-02 01:10:34 +0000 |
---|---|---|
committer | Michael Johnson <johnsomor@gmail.com> | 2022-12-02 01:11:57 +0000 |
commit | c1abab048e0fae5465d6157271c16f70102be9c6 (patch) | |
tree | 8d4103ee1f83164f94233cdfa15dae37c0b4b9f3 | |
parent | 0483a533216c85314a0f3102d6600d12647f0c11 (diff) | |
download | designate-c1abab048e0fae5465d6157271c16f70102be9c6.tar.gz |
Remove unused get_migration_manager function
This patch removes the get_migration_manager function from the sqlalchemy
utils module. It doesn't appear to be used anywhere in the code.
Change-Id: I3cc77e6a2607e57ce071078157a7853a03eea021
-rw-r--r-- | designate/sqlalchemy/utils.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/designate/sqlalchemy/utils.py b/designate/sqlalchemy/utils.py index 68f7b18d..c6560ae8 100644 --- a/designate/sqlalchemy/utils.py +++ b/designate/sqlalchemy/utils.py @@ -17,7 +17,6 @@ # under the License. from oslo_db import exception as oslo_db_exception -from oslo_db.sqlalchemy.migration_cli import manager from oslo_db.sqlalchemy import utils from oslo_log import log import sqlalchemy @@ -41,15 +40,6 @@ RRSET_FILTERING_INDEX = { } -def get_migration_manager(repo_path, url, init_version=None): - migration_config = { - 'migration_repo_path': repo_path, - 'db_url': url, - 'init_version': init_version, - } - return manager.MigrationManager(migration_config) - - # copy from olso/db/sqlalchemy/utils.py def paginate_query(query, table, limit, sort_keys, marker=None, sort_dir=None, sort_dirs=None): |