compose-go/types/command.go
Nicolas De Loof 0e9dc0b5bc
types: reject a non-string command entry instead of panicking
With schema validation skipped, a command or entrypoint list holding
something else than strings (`command: [bundle, 3000]`) crashed the loader
on an unchecked type assertion. It now fails with an error naming the
attribute.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-23 14:36:27 +02:00

94 lines
3.1 KiB