Skip to content

Commit

Permalink
Update misplaced params of _format_remote_index_files (#584)
Browse files Browse the repository at this point in the history
Misplaced params:
`_format_remote_index_files(cu.list_objects(), cu.remote)`
  • Loading branch information
lsongx authored Feb 1, 2024
1 parent 36059a9 commit cea06c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streaming/base/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def _merge_index_from_root(out: Union[str, Tuple[str, str]],
local_index_files.append(file)

if cu.remote:
remote_index_files = _format_remote_index_files(cu.list_objects(), cu.remote)
remote_index_files = _format_remote_index_files(cu.remote, cu.list_objects())
if len(local_index_files) == len(remote_index_files):
_merge_index_from_list(list(zip(local_index_files, remote_index_files)),
out,
Expand Down

0 comments on commit cea06c1

Please sign in to comment.