Skip to content

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 <nicolas.deloof@gmail.com>
@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
@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