Skip to content

Commit

Permalink
fix operator arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
huangwei committed Jul 31, 2023
1 parent ce4926b commit b097ecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyplane/planner/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def plan(self, jobs: List[TransferJob]) -> TopologyPlan:
mux_or = src_program.add_operator(GatewayMuxOr(), parent_handle=obj_store_read, partition_id=partition_id)
for i in range(n_instances):
compress_op = dst_program[dst_region_tag].add_operator(
GatewayCompress(decompress=self.transfer_config.use_compression),
GatewayCompress(compress=self.transfer_config.use_compression),
parent_handle=mux_or,
partition_id=partition_id,
)
Expand Down Expand Up @@ -375,7 +375,7 @@ def plan(self, jobs: List[TransferJob]) -> TopologyPlan:
# print("Using private IP for GCP to GCP transfer", src_region_tag, dst_region_tag)
private_ip = True
compress_op = dst_program[dst_region_tag].add_operator(
GatewayCompress(decompress=self.transfer_config.use_compression),
GatewayCompress(compress=self.transfer_config.use_compression),
parent_handle=mux_or,
partition_id=partition_id,
)
Expand Down

0 comments on commit b097ecc

Please sign in to comment.