Browse Source

Switch to nova's new flag API.

Soheil Hassas Yeganeh 13 years ago
parent
commit
9e2351f5eb
1 changed files with 1 additions and 2 deletions
  1. 1 2
      utils/nova-novncproxy

+ 1 - 2
utils/nova-novncproxy

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