Skip to content

Commit 943079c

Browse files
authored
Fixed Kubernetes worker container launch command to remove trailing semicolon (#3486)
The launch command is formatted with a newline at the end so when the trailing semicolon is added here, it causes the semicolon to be run as a separate bash command by the worker. A single semicolon is a syntax error in bash and produces an error in container logs when the container tries to run it. Removing it is safe since it's at the end of the command and nothing is concatenated after it.
1 parent 8b45556 commit 943079c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsl/providers/kubernetes/kube.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def _create_pod(self,
286286
# Create the environment variables and command to initiate IPP
287287
environment_vars = client.V1EnvVar(name="TEST", value="SOME DATA")
288288

289-
launch_args = ["-c", "{0};".format(cmd_string)]
289+
launch_args = ["-c", "{0}".format(cmd_string)]
290290

291291
volume_mounts = []
292292
# Create mount paths for the volumes

0 commit comments

Comments
 (0)