summaryrefslogtreecommitdiff
path: root/nova/config.py
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2019-08-16 00:53:03 +0100
committerStephen Finucane <sfinucan@redhat.com>2019-08-16 00:53:03 +0100
commita1d3519dcc3515d082a3eba8a3e1ca4d6f96e46f (patch)
tree539013f37f87f00a5376edf37b71d5b53e246635 /nova/config.py
parent872a823d9a02f31e266882bfb499673c51fb4075 (diff)
downloadnova-a1d3519dcc3515d082a3eba8a3e1ca4d6f96e46f.tar.gz
Rename 'nova.common.config' module to 'nova.middleware'
There was only one sub-module in 'nova.common' but its presence interferes with tab complete for the majority of people that want 'nova/compute'. Just move that sub-module to its own top-level module and be done. Change-Id: Iee886d915577f347e1ee4f54133ae0f87ae75841 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'nova/config.py')
-rw-r--r--nova/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/config.py b/nova/config.py
index b5064b4783..4be8e34239 100644
--- a/nova/config.py
+++ b/nova/config.py
@@ -18,9 +18,9 @@
from oslo_log import log
from oslo_utils import importutils
-from nova.common import config
import nova.conf
from nova.db.sqlalchemy import api as sqlalchemy_api
+from nova import middleware
from nova import rpc
from nova import version
@@ -49,7 +49,7 @@ def parse_args(argv, default_config_files=None, configure_db=True,
rpc.set_defaults(control_exchange='nova')
if profiler:
profiler.set_defaults(CONF)
- config.set_middleware_defaults()
+ middleware.set_defaults()
CONF(argv[1:],
project='nova',