Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: byhsu <[email protected]>
  • Loading branch information
ByronHsu committed May 19, 2023
1 parent a99ffb3 commit 502b69f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flytekit/remote/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,9 @@ def upload_file(
upload_location.signed_url,
data=content,
headers={"Content-Length": str(content_length), "Content-MD5": encoded_md5},
verify=False if self._config.platform.insecure_skip_verify == True else self._config.platform.ca_cert_file_path,
verify=False
if self._config.platform.insecure_skip_verify is True
else self._config.platform.ca_cert_file_path,
)

if rsp.status_code != requests.codes["OK"]:
Expand Down

0 comments on commit 502b69f

Please sign in to comment.