Use new flag API
This changed since 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 for blueprint cfg-global-object in Nova. Change-Id: Iaae34a1e4953c964b99411247219f7b72358823f Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
This commit is contained in:
parent
f9d7414973
commit
6fa69bbdcc
@ -28,8 +28,7 @@ from nova import service
|
|||||||
from nova import utils
|
from nova import utils
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
utils.default_cfgfile()
|
flags.parse_args(sys.argv)
|
||||||
flags.FLAGS(sys.argv)
|
|
||||||
logging.setup()
|
logging.setup()
|
||||||
utils.monkey_patch()
|
utils.monkey_patch()
|
||||||
server = \
|
server = \
|
||||||
|
@ -28,8 +28,7 @@ from nova import service
|
|||||||
from nova import utils
|
from nova import utils
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
utils.default_cfgfile()
|
flags.parse_args(sys.argv)
|
||||||
flags.FLAGS(sys.argv)
|
|
||||||
logging.setup()
|
logging.setup()
|
||||||
utils.monkey_patch()
|
utils.monkey_patch()
|
||||||
server = \
|
server = \
|
||||||
|
Loading…
Reference in New Issue
Block a user