Fix resource listing error
This patch fixes the cluster-policy-list operation error where 'path_args' was not treated in a dedicated parameter. Change-Id: I3a259b58585d9900e8db9ace141d85369f854bad
This commit is contained in:
parent
3cdb7fc0fe
commit
ec2c542b7c
@ -45,9 +45,9 @@ class Client(object):
|
||||
print(self.auth.authorize(xport))
|
||||
return xport
|
||||
|
||||
def list(self, cls, **options):
|
||||
def list(self, cls, path_args=None, **options):
|
||||
try:
|
||||
return cls.list(self.session, params=options)
|
||||
return cls.list(self.session, path_args=path_args, params=options)
|
||||
except Exception as ex:
|
||||
client_exc.parse_exception(ex)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user