Merge "Fix security group list command"
This commit is contained in:
commit
aa7145e0c9
@ -161,7 +161,7 @@ class ListSecurityGroup(lister.Lister):
|
|||||||
project_hash = {}
|
project_hash = {}
|
||||||
try:
|
try:
|
||||||
projects = self.app.client_manager.identity.projects.list()
|
projects = self.app.client_manager.identity.projects.list()
|
||||||
except ksc_exc.Forbidden:
|
except ksc_exc.ClientException:
|
||||||
# This fails when the user is not an admin, just move along
|
# This fails when the user is not an admin, just move along
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user