From b38dc6f833bd590daec17ace1add59c85d6ad81b Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Thu, 1 Jun 2023 09:46:15 -0700 Subject: [PATCH] lint Signed-off-by: Yee Hing Tong --- flytekit/clients/auth_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flytekit/clients/auth_helper.py b/flytekit/clients/auth_helper.py index 23ada59c38..ce2992723f 100644 --- a/flytekit/clients/auth_helper.py +++ b/flytekit/clients/auth_helper.py @@ -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),