Revert "type hint"
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 37s
Webapp Test / Run webapp test suite (pull_request) Failing after 5m9s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m10s
Smoke Test / Run basic test suite (pull_request) Successful in 4m7s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 15m28s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 15m38s

This reverts commit f238078940.
This commit is contained in:
Roy Crihfield 2024-10-15 16:39:58 +08:00
parent f238078940
commit 056795e73f

View File

@ -422,7 +422,7 @@ def _copy_files_to_directory(file_paths: List[Path], directory: Path):
copy(path, os.path.join(directory, os.path.basename(path)))
def _create_deployment_file(deployment_dir: Path, cluster: str | None):
def _create_deployment_file(deployment_dir: Path, cluster):
deployment_file_path = deployment_dir.joinpath(constants.deployment_file_name)
if cluster is None:
cluster = f"{constants.cluster_name_prefix}{token_hex(8)}"