From f806e25a6a2b8001c2414882b6e9a17279d4589d Mon Sep 17 00:00:00 2001 From: Shishi Chen Date: Thu, 13 Jun 2024 14:16:58 +0000 Subject: [PATCH] Fixed Kubernetes worker container launch command to remove trailing semicolon. --- parsl/providers/kubernetes/kube.py | 2 +- parsl/providers/kubernetes/template.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/parsl/providers/kubernetes/kube.py b/parsl/providers/kubernetes/kube.py index c5256a47f3..9bc1b8c5cf 100644 --- a/parsl/providers/kubernetes/kube.py +++ b/parsl/providers/kubernetes/kube.py @@ -286,7 +286,7 @@ def _create_pod(self, # Create the environment variables and command to initiate IPP environment_vars = client.V1EnvVar(name="TEST", value="SOME DATA") - launch_args = ["-c", "{0};".format(cmd_string)] + launch_args = ["-c", "{0}".format(cmd_string)] volume_mounts = [] # Create mount paths for the volumes diff --git a/parsl/providers/kubernetes/template.py b/parsl/providers/kubernetes/template.py index 6693b1ba94..d69798ec50 100644 --- a/parsl/providers/kubernetes/template.py +++ b/parsl/providers/kubernetes/template.py @@ -1,4 +1,3 @@ template_string = """{worker_init} -{command} -""" +{command}"""