From d954aa2edae91009fcc0b0eea5e622958a8d8b67 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 21 May 2020 21:59:33 -0400 Subject: Deprecate legacy config struct Signed-off-by: Dave Henderson --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'context.go') 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 { -- cgit v1.2.3