generated from coulomb/repo-seed
NET-WP-0019: fix arg parsing in orchestrator for --cleanup-only early, fix delegate path in console cleanup command.
This commit is contained in:
@@ -4825,7 +4825,8 @@ def main(argv: list[str] | None = None) -> int:
|
||||
pat = getattr(args, "pattern", "t06-*") if hasattr(args, "pattern") else "t06-*"
|
||||
print("Delegating cleanup for pattern", pat, "to orchestrator...")
|
||||
import subprocess, os
|
||||
script = "sso-mfa/k8s/lldap/dry-run-nonroot-user.sh"
|
||||
script = os.path.join(os.path.dirname(__file__), "..", "..", "sso-mfa", "k8s", "lldap", "dry-run-nonroot-user.sh")
|
||||
script = os.path.abspath(script)
|
||||
subprocess.call(["bash", script, "--cleanup-only", pat])
|
||||
return 0
|
||||
if args.command == "handover-checklist":
|
||||
|
||||
Reference in New Issue
Block a user