diff --git a/senlinclient/v1/client.py b/senlinclient/v1/client.py index b2d83cab..48381b80 100644 --- a/senlinclient/v1/client.py +++ b/senlinclient/v1/client.py @@ -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)