mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix regression in s3.query from #33682
attempting to pull a list of objects from s3 would fail to return the list of objects
This commit is contained in:
parent
37978a1ebe
commit
a2b99703b1
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ def query(key, keyid, method='GET', params=None, headers=None,
|
|||
verify=verify_ssl,
|
||||
stream=True)
|
||||
response = result.content
|
||||
elif method == 'GET' and not return_bin:
|
||||
elif method == 'GET' and local_file and not return_bin:
|
||||
result = requests.request(method,
|
||||
requesturl,
|
||||
headers=headers,
|
||||
|
|
Loading…
Add table
Reference in a new issue