You've already forked community.general
mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-14 16:01:01 +03:00
fix: scaleway inventory pagination (#2036)
* fix: scaleway inventory pagination * add changelog * Update changelogs/fragments/2036-scaleway-inventory.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Antoine Barbare <abarbare@online.net> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@ -39,7 +39,7 @@ class ScalewayException(Exception):
|
||||
R_LINK_HEADER = r'''<[^>]+>;\srel="(first|previous|next|last)"
|
||||
(,<[^>]+>;\srel="(first|previous|next|last)")*'''
|
||||
# Specify a single relation, for iteration and string extraction purposes
|
||||
R_RELATION = r'<(?P<target_IRI>[^>]+)>; rel="(?P<relation>first|previous|next|last)"'
|
||||
R_RELATION = r'</?(?P<target_IRI>[^>]+)>; rel="(?P<relation>first|previous|next|last)"'
|
||||
|
||||
|
||||
def parse_pagination_link(header):
|
||||
|
Reference in New Issue
Block a user