summaryrefslogtreecommitdiff
path: root/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'context.go')
-rw-r--r--context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/context.go b/context.go
index a2b8b002..3d8bebe5 100644
--- a/context.go
+++ b/context.go
@@ -22,7 +22,7 @@ func (c *tmplctx) Env() map[string]string {
return env
}
-func createTmplContext(ctx context.Context, contexts config.DSources, d *data.Data) (interface{}, error) {
+func createTmplContext(ctx context.Context, contexts map[string]config.DataSource, d *data.Data) (interface{}, error) {
var err error
tctx := &tmplctx{}
for a := range contexts {