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:
Nicolas De Loof 2026-10-23 08:30:12 +02:00
commit 1cb02a01df
No known key found for this signature in database
2 changed files with 21 additions and 0 deletions