mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
Fix getheaders regression with open_url in Scaleway dynamic inventory (#48671)
* Fix regression * Improve changelog fragment
This commit is contained in:
parent
70fff13a6e
commit
959395f4b4
2 changed files with 4 additions and 1 deletions
|
@ -113,7 +113,7 @@ def _fetch_information(token, url):
|
|||
except KeyError:
|
||||
raise AnsibleError("Incorrect format from the Scaleway API response")
|
||||
|
||||
link = response.getheader('Link')
|
||||
link = response.headers['Link']
|
||||
if not link:
|
||||
return results
|
||||
relations = parse_pagination_link(link)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue