compose-go
compose-go copied to clipboard
`UlimitsConfig.MarshalYAML` is incorrect
See https://github.com/compose-spec/compose-go/blob/master/types/types.go#L790-L796
When used with yaml.Marshal and "gopkg.in/yaml.v3", this causes an infinite loop.
To reproduce:
yaml.Marshal(&types.UlimitsConfig{Soft: 123})
we indeed don't support yaml.v3 (yet), see https://github.com/compose-spec/compose-go/pull/153