Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <[email protected]>
  • Loading branch information
wild-endeavor committed Jun 1, 2023
1 parent 371defa commit b38dc6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flytekit/clients/auth_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ def get_channel(cfg: PlatformConfig, **kwargs) -> grpc.Channel:
credentials = bootstrap_creds_from_server(cfg.endpoint)
elif cfg.ca_cert_file_path:
credentials = grpc.ssl_channel_credentials(
crypto.dump_certificate(crypto.FILETYPE_PEM, load_cert(cfg.ca_cert_file_path)))
crypto.dump_certificate(crypto.FILETYPE_PEM, load_cert(cfg.ca_cert_file_path))
)
else:
credentials = grpc.ssl_channel_credentials(
root_certificates=kwargs.get("root_certificates", None),
Expand Down

0 comments on commit b38dc6f

Please sign in to comment.