6a9a9f002f
When using list_limit configuration option in Default section of keystone.conf, the /services?name=<service_name> API fails to find the service if list_limit value is smaller than the total number of services and the searched service is not among the first 'list_limit' services. The API should first filter by name and only afterwards truncate the result list. Also, this patch fixes setting the 'truncated' attribute of the driver's hint.limit object when truncating the list outside of driver_hints.truncated decorator, problem exposed by fixing the problem described in the first paragraph. Closes-Bug: #1594482 Change-Id: I832f542c3cb0faf94a1e5bce5a894f7f4d26a8de
9 lines
357 B
YAML
9 lines
357 B
YAML
---
|
|
fixes:
|
|
- >
|
|
[`bug 1594482 <https://bugs.launchpad.net/keystone/+bug/1594482>`_]
|
|
When using list_limit config option, the GET /services?name={service_name}
|
|
API was first truncating the list and afterwards filtering by name.
|
|
The API was fixed to first filter by name and only afterwards truncate the
|
|
result list to the desired limit.
|