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
a8ab76e86f
commit
9dd476a579
Loading…
Reference in new issue