"next links" broken for limited share replicas api
Bug #2023754 reported by
Maurice Escher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hi,
the link to get the next share replica when using pagination is broken, it reports the URL with underscore 'share_replicas' whereas it should be with hyphen 'share-replicas':
https:/
Now I cannot use that link to get the next share replica(s).
Briefly looked into the code, the `_get_next_link` method uses the `_collection_name` which is not right in this case, since the collection name and URL route are different for share replicas.
BR,
Maurice
credit to: kayrus
description: | updated |
tags: | added: replication |
tags: | added: low-hanging-fruit |
Changed in manila: | |
importance: | Undecided → Medium |
Changed in manila: | |
assignee: | nobody → Maurice Escher (maurice-escher) |
status: | New → Triaged |
Changed in manila: | |
assignee: | Maurice Escher (maurice-escher) → nobody |
To post a comment you must log in.
See additional related discussions at https:/ /meetings. opendev. org/meetings/ manila/ 2023/manila. 2023-06- 29-15.00. log.html