levant
levant copied to clipboard
Sprig function "dig" not defined
Description
Unable to use the "dig" function from Sprig. Now I have to write multiple guard clauses just to go through a dictionary.
Relevant Nomad job specification file
[ERROR] levant/command: template: jobTemplate:159: function "dig" not defined
Output of levant version
:
Levant v0.3.0
Hi @evgenipetrov9; the dig
function was only added in sprig v3.2.1 and the current Levant dependency uses v.3.1.0. I will therefore raise a PR to update the dependency which will bring in this template function.