summaryrefslogtreecommitdiff
path: root/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'context.go')
-rw-r--r--context.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/context.go b/context.go
index 6c2f04a2..2114b7df 100644
--- a/context.go
+++ b/context.go
@@ -22,7 +22,9 @@ func (c *tmplctx) Env() map[string]string {
}
// createTmplContext reads the datasources for the given aliases
-func createTmplContext(ctx context.Context, aliases []string, d *data.Data) (interface{}, error) {
+func createTmplContext(ctx context.Context, aliases []string,
+ //nolint:staticcheck
+ d *data.Data) (interface{}, error) {
var err error
tctx := &tmplctx{}
for _, a := range aliases {