Move compute_topic into nova.compute.rpcapi

Even though the compute_topic opt is used outside nova.compute.rpcapi,
it makes sense for the RPC module to "own" the topic option.

blueprint: scope-config-opts
Change-Id: I453951825481b9a5ba1865f6bf1223f7b1e25f98
This commit is contained in:
Mark McLoughlin
2013-01-08 07:01:42 +00:00
parent 35844cce86
commit 63bd46ceca

View File

@@ -48,7 +48,7 @@ from nova import service
from nova import utils
CONF = cfg.CONF
CONF.import_opt('compute_topic', 'nova.config')
CONF.import_opt('compute_topic', 'nova.compute.rpcapi')
if __name__ == '__main__':
config.parse_args(sys.argv)