Typo fix Update bootstrap_test.sh #10013
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
In the script, the
docker run
command contains a syntax error due to the absence of a space after the-v
flag in the volume mount definition:-v/run/user/$UID/docker.sock:/var/run/docker.sock
Without the space, the argument is interpreted incorrectly as a single token (
-v/run/user/$UID/docker.sock:/var/run/docker.sock
), causing thedocker
command to fail with a syntax error.Solution:
Add a space between the
-v
flag and the volume path, ensuring the argument is parsed correctly:-v /run/user/$UID/docker.sock:/var/run/docker.sock
Updated Code:
Why This Matters:
-v
flag by a space. Failing to do so leads to command execution errors.Testing:
docker run
command executes successfully with the corrected syntax./run/user/$UID/docker.sock
and the repository path) are correctly mapped inside the container.Impact:
This is a critical fix to ensure the script runs as intended. Without this change, the script fails during execution, potentially blocking workflows that depend on it.