compose-go/transform/ssh.go
Guillaume Lours 0e17c6437e
fix(transform): honor ignoreParseError in ssh and ulimits parsers (#928)
ignoreParseError was threaded into every transform.Canonical parser's
signature to satisfy the shared transformFunc type, but only ports and
volume mounts actually used it; ssh and ulimits kept a no-op `_ bool`.

A short-form value left unresolved on purpose (SkipInterpolation, e.g.
docker compose publish's raw secret-scanning pass) crashed the loader
outright instead of degrading gracefully like its siblings.

Also fixes a copy-pasted "for external" error message in ulimits.

Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
Co-authored-by: Guillaume Lours <glours@users.noreply.github.com>
2026-09-10 15:00:34 +02:00

54 lines
1.3 KiB