fix: use camelCase for the cmdline switch generated
This commit is contained in:
parent
926f786d83
commit
51392cc156
|
|
@ -131,7 +131,7 @@ def get_health_check_args(repo_conf: repo.Config) -> List[str]:
|
||||||
]
|
]
|
||||||
if repo_conf.health_check.whitelisted_chars:
|
if repo_conf.health_check.whitelisted_chars:
|
||||||
args.append(
|
args.append(
|
||||||
f"-whitelisted-chars={','.join(repo_conf.health_check.whitelisted_chars)}"
|
f"-whitelistedChars={','.join(repo_conf.health_check.whitelisted_chars)}"
|
||||||
)
|
)
|
||||||
args.extend(
|
args.extend(
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@
|
||||||
"/usr/local/bin/repo-health-checker",
|
"/usr/local/bin/repo-health-checker",
|
||||||
"-root=.",
|
"-root=.",
|
||||||
"-repoSize=10.0",
|
"-repoSize=10.0",
|
||||||
"-whitelisted-chars=你,好,!",
|
"-whitelistedChars=你,好,!",
|
||||||
"-checkFileSumList=",
|
"-checkFileSumList=",
|
||||||
"-checkFileNameList="
|
"-checkFileNameList="
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user