compose-go/validation
Nicolas De Loof 5878a9dd3b validation: leave a non-boolean external to the model decoding
With interpolation skipped, a volume whose `external` is still a variable
reference (`${EXTERNAL:-true}`) crashed the validation on an unchecked type
assertion. The value is now left to the decoding of the model, which reports
it as an invalid boolean. The spellings of true that the decoding accepts as
a string (`yes`, `on`, `y`, in any case) are recognized as such.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
History 2026-10-23 16:00:08 +02:00
..
external.go validation: leave a non-boolean external to the model decoding 2026-10-23 16:00:08 +02:00
validation.go validation: reject negative memory limits, reservations and shared memory sizes 2026-10-23 10:29:22 +02:00
validation_test.go validation: leave a non-boolean external to the model decoding 2026-10-23 16:00:08 +02:00
volume.go bump module version to v2 to reflect a major refactoring 2023-10-27 10:33:42 +02:00