hashicorp / hcat

Hashicorp Configuration and Templating library (hcat, pronounced hashicat)
Mozilla Public License 2.0
96 stars 12 forks source link

consul-template nil pointer fix port #83

Closed eikenb closed 2 years ago

eikenb commented 2 years ago

ports over a fix to the template functions; node, caLeaf and secret

They have an error condition returning the typed nil pointer that would break templates using a $variable.

Consul-template fix PR: https://github.com/hashicorp/consul-template/pull/1535

eikenb commented 2 years ago

Note that this builds on top of the template-function-library-refactor branch and should be merged after that.