mirror of
https://github.com/compose-spec/compose-go.git
synced 2026-11-24 20:00:00 +00:00
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
|
|
|---|---|---|
| .. | ||
| external.go | ||
| validation.go | ||
| validation_test.go | ||
| volume.go | ||