Skip to content

Commit 2d8a98f

Browse files
marojorDavide Schiera
authored andcommitted
Add missing verify flag to import/images request (#105)
1 parent 8996c1e commit 2d8a98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdcclient/_scanning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def import_image(self, infile):
324324
url = self.url+"/api/scanning/v1/import/images"
325325

326326
headers = {'Authorization': 'Bearer ' + self.token, 'Content-Type': m.content_type}
327-
res = requests.post(url, data=m, headers=headers)
327+
res = requests.post(url, data=m, headers=headers, verify=self.ssl_verify)
328328
if not self._checkResponse(res):
329329
return [False, self.lasterr]
330330

0 commit comments

Comments
 (0)