mirror of https://github.com/helm/helm
`toToml` was returning `err.Error()` on marshal failure, inconsistent with `toYaml` and `toJson` — both of which swallow errors and return an empty string to avoid embedding raw error text in rendered templates. Align `toToml` with the same convention. Charts relying on the old behavior (checking for an error string in the output) should use `mustToToml` (available since #XXXX) to get an explicit failure instead. Closes #31430 Signed-off-by: Ilya Kiselev <kis-ilya-a@yandex.ru>pull/31958/head
parent
59b57c5c31
commit
ae4c19a7a3
Loading…
Reference in new issue