Ansible module fix: stream_url
python-requests api misused (invalid kw). raw images could not be streamed correctly down to the host Change-Id: I2a2d9bd92899c4d93bf7bceefa9a01d80328b762 Story: #2005357 Task: #30316
This commit is contained in:
parent
de390cc585
commit
732bbd851d
@ -31,7 +31,7 @@ class StreamingDownloader(object):
|
||||
else:
|
||||
self.hasher = None
|
||||
self.chunksize = chunksize
|
||||
resp = requests.get(url, stream=True, verify=verify, certs=certs)
|
||||
resp = requests.get(url, stream=True, verify=verify, cert=certs)
|
||||
if resp.status_code != 200:
|
||||
raise Exception('Invalid response code: %s' % resp.status_code)
|
||||
|
||||
|
4
releasenotes/notes/bug-30316-8c53358681e464eb.yaml
Normal file
4
releasenotes/notes/bug-30316-8c53358681e464eb.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- Fixes an issue with the ansible deployment interface where raw images
|
||||
could not be streamed correctly to the host.
|
Loading…
Reference in New Issue
Block a user