chore: fix typo
All checks were successful
build / build (push) Successful in 1m30s

This commit is contained in:
张泊明518370910136 2025-06-01 06:27:31 -04:00
parent 6dc7397bd4
commit b91b100dbf
GPG Key ID: D47306D7062CDA9D
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ def get_health_check_args(repo_conf: repo.Config) -> List[str]:
"-root=.",
f"-repoSize={str(repo_conf.max_size)}",
*[f"-meta={meta}" for meta in repo_conf.files.required],
f"-checkFileSumList={','.join(get_hashs(repo_conf))}",
f"-checkFileSumList={','.join(get_hashes(repo_conf))}",
f"-checkFileNameList={','.join(repo_conf.files.immutable)}",
]
@ -106,7 +106,7 @@ def calc_sha256sum(file_path: Path) -> str:
return sha256_hash.hexdigest()
def get_hashs(repo_conf: repo.Config) -> List[str]:
def get_hashes(repo_conf: repo.Config) -> List[str]:
base_dir = (repo_conf.root / repo_conf.path).parent
immutable_dir = base_dir / "immutable_files"
immutable_files = [

View File

@ -185,7 +185,7 @@ def fix_diff(
]
)
)
# those in toml config that is not skiped
# those in toml config that is not skipped
valid_cases = [
(casej, task_stage.cases[casei])
for casei in task_stage.cases