summaryrefslogtreecommitdiff
path: root/data/datasource_env.go
diff options
context:
space:
mode:
Diffstat (limited to 'data/datasource_env.go')
-rw-r--r--data/datasource_env.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/datasource_env.go b/data/datasource_env.go
index 15d56a1d..f1e2e5aa 100644
--- a/data/datasource_env.go
+++ b/data/datasource_env.go
@@ -1,12 +1,13 @@
package data
import (
+ "context"
"strings"
"github.com/hairyhenderson/gomplate/v3/env"
)
-func readEnv(source *Source, args ...string) (b []byte, err error) {
+func readEnv(ctx context.Context, source *Source, args ...string) (b []byte, err error) {
n := source.URL.Path
n = strings.TrimPrefix(n, "/")
if n == "" {