From 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Tue, 29 May 2012 08:57:58 +0100 Subject: Use cfg's new global CONF object Implements blueprint cfg-global-object Replace nova.flags.FLAGS with openstack.common.cfg.CONF. In future, we can do a s/FLAGS/CONF/ across the codebase. Change-Id: Ib293873089a5399febd7a3b0410f66e9bef115f1 --- bin/nova-console | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bin/nova-console') diff --git a/bin/nova-console b/bin/nova-console index 06e352f48..f5a760b37 100755 --- a/bin/nova-console +++ b/bin/nova-console @@ -36,11 +36,9 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')): from nova import flags from nova import log as logging from nova import service -from nova import utils if __name__ == '__main__': - utils.default_cfgfile() - flags.FLAGS(sys.argv) + flags.parse_args(sys.argv) logging.setup() server = service.Service.create(binary='nova-console') service.serve(server) -- cgit