summaryrefslogtreecommitdiffstats
path: root/tpl/tplimpl/templateProvider.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/tplimpl/templateProvider.go')
-rw-r--r--tpl/tplimpl/templateProvider.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/tplimpl/templateProvider.go b/tpl/tplimpl/templateProvider.go
index 605c47d87..910c0be89 100644
--- a/tpl/tplimpl/templateProvider.go
+++ b/tpl/tplimpl/templateProvider.go
@@ -29,8 +29,8 @@ func (*TemplateProvider) Update(deps *deps.Deps) error {
newTmpl := newTemplateAdapter(deps)
deps.Tmpl = newTmpl
deps.TextTmpl = newTmpl.wrapTextTemplate(newTmpl.text.standalone)
-
- newTmpl.initFuncs()
+ // These needs to be there at parse time.
+ newTmpl.initTemplateExecuter()
if err := newTmpl.loadEmbedded(); err != nil {
return err