diff options
Diffstat (limited to 'tpl/reflect/init.go')
-rw-r--r-- | tpl/reflect/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/reflect/init.go b/tpl/reflect/init.go index 6ff3f8093..63500a6a4 100644 --- a/tpl/reflect/init.go +++ b/tpl/reflect/init.go @@ -27,7 +27,7 @@ func init() { ns := &internal.TemplateFuncsNamespace{ Name: name, - Context: func(args ...interface{}) interface{} { return ctx }, + Context: func(args ...interface{}) (interface{}, error) { return ctx, nil }, } ns.AddMethodMapping(ctx.IsMap, |