mirror of https://github.com/helm/helm
Previously toToml returned err.Error() on failure, rendering the error message string into the template output. toYAML and toJSON both return an empty string on error to swallow it silently inside templates. This aligns toToml behavior with the other serialization functions. Fixes: https://github.com/helm/helm/issues/31430 Signed-off-by: Gagan Gupta <realgagangupta@users.noreply.github.com>pull/31915/head
parent
e31a078e6e
commit
e62421055a
Loading…
Reference in new issue