builder/dockerfile: errmsg: quote build target#46754
Merged
thaJeztah merged 1 commit intomoby:masterfrom Nov 2, 2023
Merged
Conversation
AkihiroSuda
reviewed
Nov 1, 2023
e72250a to
1236fd0
Compare
Member
|
DOH! Looks like a test needs updating, @Frankkkkk I see that test is checking for moby/integration-cli/docker_cli_build_test.go Line 5949 in 60e88c8 |
The build target is not quoted and it makes it difficult for some persons to see what the problem is. By quoting it we emphasize that the target name is variable. Signed-off-by: Frank Villaro-Dixon <frank.villarodixon@merkle.com>
thaJeztah
approved these changes
Nov 2, 2023
Member
thaJeztah
left a comment
There was a problem hiding this comment.
thanks for updating!
LGTM (assuming CI is happy)
Contributor
Author
|
Hi @thaJeztah I apologize for the lack of oversight. |
Member
No worries! I also assumed it would pass CI, because it did in the first iteration (that only added the quotes), but we were just lucky because it still was able to match the prefix of the error 😂 |
Member
|
All green now 🎉 |
This was referenced Jan 22, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hi,
The build target is not quoted and it makes it difficult for some persons to see what the problem is.
By quoting it we emphasize that the target name is variable.
- Description for the changelog
builder/dockerfile: errmsg: quote build target
- A picture of a cute animal (not mandatory but encouraged)

Thanks and cheers !