Skip to content

Commit

Permalink
Remove unnecessary docker mounts from compress/search launch scripts. (
Browse files Browse the repository at this point in the history
  • Loading branch information
haiqi96 authored Feb 14, 2024
1 parent d3b1c7d commit 01548e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,7 @@ def main(argv):
"--mount", str(mounts.clp_home),
]
# fmt: on
necessary_mounts = [
mounts.input_logs_dir,
mounts.data_dir,
mounts.logs_dir,
mounts.archives_output_dir,
]
necessary_mounts = [mounts.input_logs_dir, mounts.data_dir, mounts.logs_dir]
for mount in necessary_mounts:
if mount:
container_start_cmd.append("--mount")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,7 @@ def main(argv):
"--mount", str(mounts.clp_home),
]
# fmt: on
necessary_mounts = [
mounts.logs_dir,
mounts.archives_output_dir,
]
necessary_mounts = [mounts.logs_dir]
for mount in necessary_mounts:
if mount:
container_start_cmd.append("--mount")
Expand Down

0 comments on commit 01548e7

Please sign in to comment.