mirror of
https://github.com/compose-spec/compose-go.git
synced 2026-11-24 20:00:00 +00:00
loader: reject a !reset on the whole document instead of panicking
A Compose file whose root is tagged `!reset` crashed the loader while decoding the nothing that remained. It now fails with an error. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
6584ea3cc2
commit
1cb02a01df
2 changed files with 21 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue