fix: remove redundant code
All checks were successful
build / build (push) Successful in 1m54s
build / trigger-build-image (push) Successful in 8s

This commit is contained in:
张泊明518370910136 2025-10-07 20:44:16 -07:00
parent 965253725d
commit 701541c032
GPG Key ID: D47306D7062CDA9D

View File

@ -90,10 +90,7 @@ def get_teapot_post_stage(
def get_check_lists(repo_conf: repo.Config) -> Tuple[List[str], List[str]]:
base_dir = (repo_conf.root / repo_conf.path).parent
immutable_dir = base_dir / "immutable_files"
immutable_dir = (
repo_conf.root / repo_conf.path
).parent / repo_conf.health_check.immutable_path
immutable_dir = base_dir / repo_conf.health_check.immutable_path
file_sums = []
file_paths = []
for file_path in sorted(immutable_dir.glob("**/*")):