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

docker: pass COCKROACH_ARGS without quoting #122551

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

rail
Copy link
Member

@rail rail commented Apr 17, 2024

Previously, the COCKROACH_ARGS variable was passed quoted, what converted it into a single string. If the variable is set to something more than one word, the whole string is passed as a single argument.

This PR removes the surrounding quotes to let field splitting convert the string into multiple arguments.

Fixes: #122441
Release note: None

Previously, the `COCKROACH_ARGS` variable was passed quoted, what
converted it into a single string. If the variable is set to something
more than one word, the whole string is passed as a single argument.

This PR removes the surrounding quotes to let field splitting convert
the string into multiple arguments.

Fixes: cockroachdb#122441
Release note: None
@rail rail added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. A-release T-release Release Engineering & Automation Team labels Apr 17, 2024
@rail rail requested a review from rickystewart April 17, 2024 20:48
@rail rail self-assigned this Apr 17, 2024
@rail rail requested a review from a team as a code owner April 17, 2024 20:48
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rail
Copy link
Member Author

rail commented Apr 19, 2024

bors r=rickystewart

@rail
Copy link
Member Author

rail commented Apr 19, 2024

bors retry

@craig craig bot merged commit e6ca135 into cockroachdb:master Apr 19, 2024
21 of 22 checks passed
@rail rail deleted the ifs branch July 1, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-release C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-release Release Engineering & Automation Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

COCKROACH_ARGS environment variable not working as expected
3 participants