Fix ci fail of tempest for V2 clients
The patch fix the fail of tempset Change-Id: I9853c77749c565928287c906a127341273896077
This commit is contained in:
parent
f6c1b17cdd
commit
a60c2934b3
|
@ -33,8 +33,8 @@ class ClientsCollectionResource(resource.BaseResource):
|
|||
def on_get(self, req, resp, project_id):
|
||||
# GET /v2/{project_id}/clients(?limit,offset) Lists clients
|
||||
user_id = req.get_header('X-User-ID')
|
||||
offset = req.get_param_as_int('offset', min=0) or 0
|
||||
limit = req.get_param_as_int('limit', min=1) or 10
|
||||
offset = req.get_param_as_int('offset') or 0
|
||||
limit = req.get_param_as_int('limit') or 10
|
||||
search = self.json_body(req)
|
||||
obj_list = self.db.get_client(project_id=project_id,
|
||||
user_id=user_id,
|
||||
|
|
Loading…
Reference in New Issue