mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix getheaders regression with open_url in Scaleway dynamic inventory (#48671)
* Fix regression * Improve changelog fragment
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user