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

compose: silence "build.config should be relative path" warning #2510

Merged
merged 1 commit into from
Sep 16, 2023

Conversation

AkihiroSuda
Copy link
Member

This warning was always printed with a compose yaml that contains a build, as compose-go/loader.ResolveServiceRelativePaths automatically expands a relative context path to an abstract path: https://github.com/compose-spec/compose-go/blob/v1.18.4/loader/paths.go#L91-L93

("build.config" was a typo of "build.context")

Fix #2508

This warning was always printed with a compose yaml that contains a
build, as `compose-go/loader.ResolveServiceRelativePaths` automatically
expands a relative context path to an abstract path:
https://github.com/compose-spec/compose-go/blob/v1.18.4/loader/paths.go#L91-L93

("build.config" was a typo of "build.context")

Fix issue 2508

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Copy link
Member

@fahedouch fahedouch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AkihiroSuda AkihiroSuda merged commit 60a6e76 into containerd:main Sep 16, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants