From 229a78192025570f41dca61f0629b774bc1e3e46 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Tue, 4 Jul 2017 17:05:06 +0800 Subject: [PATCH] Fix bug in registering noauth options Change-Id: Ice020ae504204f877f144fc01331b6128afd6c67 --- vitrageclient/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitrageclient/auth.py b/vitrageclient/auth.py index 2db7a6e..c8dced3 100644 --- a/vitrageclient/auth.py +++ b/vitrageclient/auth.py @@ -68,10 +68,10 @@ class VitrageNoAuthLoader(loading.BaseLoader): def get_options(self): options = super(VitrageNoAuthLoader, self).get_options() - return options options.extend([ VitrageOpt('user-id', help='User ID', required=True), VitrageOpt('project-id', help='Project ID', required=True), VitrageOpt('roles', help='Roles', default="admin"), VitrageOpt('endpoint', help='Vitrage endpoint', required=True), ]) + return options