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
This commit is contained in:
Michael Johnson 2022-12-02 01:10:34 +00:00
parent 0483a53321
commit c1abab048e
1 changed files with 0 additions and 10 deletions

View File

@ -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):