aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/os/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/os/init.go')
-rw-r--r--tpl/os/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/os/init.go b/tpl/os/init.go
index c25d63d56..cd9e370cd 100644
--- a/tpl/os/init.go
+++ b/tpl/os/init.go
@@ -26,7 +26,7 @@ func init() {
ns := &internal.TemplateFuncsNamespace{
Name: name,
- Context: func(args ...interface{}) (interface{}, error) { return ctx, nil },
+ Context: func(args ...any) (any, error) { return ctx, nil },
}
ns.AddMethodMapping(ctx.Getenv,