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:
parent
0483a53321
commit
c1abab048e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue