summaryrefslogtreecommitdiff
path: root/gomplate.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2020-08-19 20:01:54 -0400
committerDave Henderson <dhenderson@gmail.com>2020-08-19 20:11:59 -0400
commit32b2da2b5af71a66629816f33034247c319899c9 (patch)
tree36af6a13a96b9333f2106c09e65952b1a4319d66 /gomplate.go
parentc0d464d7c8f0585498e9b073a5421d13f8a8b574 (diff)
Go 1.15 bump and other updates
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'gomplate.go')
-rw-r--r--gomplate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gomplate.go b/gomplate.go
index 62bd02ab..8922611e 100644
--- a/gomplate.go
+++ b/gomplate.go
@@ -128,7 +128,7 @@ func Run(ctx context.Context, cfg *config.Config) error {
Metrics = newMetrics()
defer runCleanupHooks()
- d := data.FromConfig(cfg)
+ d := data.FromConfig(ctx, cfg)
log.Debug().Str("data", fmt.Sprintf("%+v", d)).Msg("created data from config")
addCleanupHook(d.Cleanup)