From 869fd9467feaf43b4d1932ad213078e03b68e3f5 Mon Sep 17 00:00:00 2001 From: Zizhong Zhang Date: Thu, 9 Feb 2023 01:03:44 +0000 Subject: [PATCH] [Fix] Client in CLI uses correct transfer config --- skyplane/cli/cli_transfer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skyplane/cli/cli_transfer.py b/skyplane/cli/cli_transfer.py index 0823c0dfd..29be1cb45 100644 --- a/skyplane/cli/cli_transfer.py +++ b/skyplane/cli/cli_transfer.py @@ -55,7 +55,9 @@ def __init__(self, src_region_tag: str, dst_region_tag: str, args: Dict[str, Any self.args = args self.aws_config, self.azure_config, self.gcp_config = self.to_api_config(skyplane_config or cloud_config) self.transfer_config = self.make_transfer_config(skyplane_config or cloud_config) - self.client = skyplane.SkyplaneClient(aws_config=self.aws_config, azure_config=self.azure_config, gcp_config=self.gcp_config) + self.client = skyplane.SkyplaneClient( + aws_config=self.aws_config, azure_config=self.azure_config, gcp_config=self.gcp_config, transfer_config=self.transfer_config + ) typer.secho(f"Using Skyplane version {skyplane.__version__}", fg="bright_black") typer.secho(f"Logging to: {self.client.log_dir / 'client.log'}", fg="bright_black")