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

Mark published port as string #272

Merged
merged 3 commits into from
Dec 23, 2022

Conversation

glours
Copy link
Contributor

@glours glours commented Aug 12, 2022

What this PR does / why we need it:
Update the ports.published attribut description to explicitly indicate that a string format is expected, as the specification use the Yaml unquoted string feature some user may implicitly assume that only integer value are allowed.

Which issue(s) this PR fixes:
Fixes #262 and link to docker/compose#9306

Copy link
Collaborator

@EricHripko EricHripko left a comment

Choose a reason for hiding this comment

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

Looks good ✅ Thank you for improving this - left a tiny suggestion inline 💬

spec.md Outdated Show resolved Hide resolved
align the specification between short and long port syntax

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
@glours glours force-pushed the mark-published-port-as-string branch from 95a6541 to 5c5d43f Compare October 17, 2022 07:17
Co-authored-by: Eric Hripko <eric@hripko.com>
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
@glours glours force-pushed the mark-published-port-as-string branch from 438125b to 0c5f3d8 Compare October 17, 2022 08:01
@ndeloof ndeloof merged commit 66d837f into compose-spec:master Dec 23, 2022
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.

Spec inconsistency between ports short and long syntax on port range
4 participants