Switch to nova's new flag API.
This commit is contained in:
parent
72a5596e50
commit
9e2351f5eb
|
@ -132,8 +132,7 @@ if __name__ == '__main__':
|
|||
parser.error("SSL only and %s not found" % FLAGS.cert)
|
||||
|
||||
# Setup flags
|
||||
utils.default_flagfile()
|
||||
FLAGS(sys.argv)
|
||||
flags.parse_args(sys.argv)
|
||||
|
||||
# Create and start the NovaWebSockets proxy
|
||||
server = NovaWebSocketProxy(listen_host=FLAGS.novncproxy_host,
|
||||
|
|
Loading…
Reference in New Issue