Switch to nova's new flag API.

This commit is contained in:
Soheil Hassas Yeganeh 2012-06-06 21:26:25 -03:00
parent 72a5596e50
commit 9e2351f5eb
1 changed files with 1 additions and 2 deletions

View File

@ -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,