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

add support for inline config #478

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Nov 2, 2023

This adds support for inlined config (compose-spec/compose-spec#429)

Copy link
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

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

Typo to fix before merging

}
if count == 0 {
if _, ok := v["external"]; !ok {
return fmt.Errorf("%s: on of %s must be set", p, strings.Join(keys, ","))
Copy link
Collaborator

@glours glours Nov 7, 2023

Choose a reason for hiding this comment

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

Suggested change
return fmt.Errorf("%s: on of %s must be set", p, strings.Join(keys, ","))
return fmt.Errorf("%s: one of %s must be set", p, strings.Join(keys, ", "))

@ndeloof ndeloof force-pushed the inline_config branch 2 times, most recently from 83301ab to 6ea2d78 Compare November 7, 2023 09:22
Signed-off-by: Nicolas De Loof <[email protected]>
@ndeloof ndeloof marked this pull request as ready for review November 7, 2023 10:33
@glours glours merged commit 8df318e into compose-spec:v2 Nov 7, 2023
8 checks passed
@ndeloof ndeloof deleted the inline_config branch November 7, 2023 12:53
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.

2 participants