Skip to content

Conversation

milas
Copy link
Member

@milas milas commented Apr 13, 2023

Adjust the cast logic to be safe so that there isn't a panic if a non-string value is used as name. The file will fail validation with a type error this way.

Adjust the cast logic to be safe so that there isn't a panic if
a non-string value is used as `name`. The file will fail validation
with a type error this way.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas added the bug Something isn't working label Apr 13, 2023
@milas milas requested review from ndeloof, glours and laurazard April 13, 2023 21:22
@milas milas self-assigned this Apr 13, 2023
@ndeloof ndeloof merged commit 84df208 into compose-spec:master Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants