summaryrefslogtreecommitdiffstats
path: root/tpl/internal/templatefuncsRegistry.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/internal/templatefuncsRegistry.go')
-rw-r--r--tpl/internal/templatefuncsRegistry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/internal/templatefuncsRegistry.go b/tpl/internal/templatefuncsRegistry.go
index c1b01f5a5..fc02a6ef9 100644
--- a/tpl/internal/templatefuncsRegistry.go
+++ b/tpl/internal/templatefuncsRegistry.go
@@ -170,7 +170,7 @@ func (namespaces TemplateFuncsNamespaces) MarshalJSON() ([]byte, error) {
for i, ns := range namespaces {
- b, err := ns.toJSON(context.TODO())
+ b, err := ns.toJSON(context.Background())
if err != nil {
return nil, err
}