Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Kubernetes worker container launch command to remove trailing semicolon. #3486

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

shishichen
Copy link
Contributor

@shishichen shishichen commented Jun 12, 2024

Description

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.

Changed Behaviour

Remove an error in the Kubernetes worker container logs.

Fixes

Fixes # n/a - minor issue

Type of change

  • Bug fix

@benclifford
Copy link
Collaborator

I haven't tried it out, but that ; is maybe unnecessary and could be removed? At first glance it looks like noise to me.

@shishichen shishichen changed the title Fixed Kubernetes worker container launch command to remove newline between … Fixed Kubernetes worker container launch command to remove trailing semicolon. Jun 13, 2024
@shishichen
Copy link
Contributor Author

Yeah, that works too - updated.

@benclifford benclifford merged commit 943079c into Parsl:master Jun 14, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants