Merge "Replace DbMigrationError with DBMigrationError"

This commit is contained in:
Jenkins 2017-09-06 22:29:50 +00:00 committed by Gerrit Code Review
commit a7c16a4223
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ def get_manager():
storage_db = CONF['storage:sqlalchemy'].connection
pool_manager_cache_db = CONF['pool_manager_cache:sqlalchemy'].connection
if storage_db == pool_manager_cache_db:
raise exception.DbMigrationError(
raise exception.DBMigrationError(
message=(
"Storage requires its own database. "
"Please check your config file."

View File

@ -43,7 +43,7 @@ def get_manager():
storage_db = CONF['storage:sqlalchemy'].connection
pool_manager_cache_db = CONF['pool_manager_cache:sqlalchemy'].connection
if storage_db == pool_manager_cache_db:
raise exception.DbMigrationError(
raise exception.DBMigrationError(
message=(
"Pool Manager Cache requires its own database."
" Please check your config file."