summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2020-05-21 21:59:33 -0400
committerDave Henderson <dhenderson@gmail.com>2020-05-21 21:59:33 -0400
commitd954aa2edae91009fcc0b0eea5e622958a8d8b67 (patch)
treee373b2a70045db608777cfd2accae6a4c36ec77d /cmd
parentcea6c6ec234198ece9155077672193229d5093b7 (diff)
Deprecate legacy config struct
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gomplate/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gomplate/main.go b/cmd/gomplate/main.go
index 110a0503..cbd3f744 100644
--- a/cmd/gomplate/main.go
+++ b/cmd/gomplate/main.go
@@ -85,7 +85,7 @@ func newGomplateCmd() *cobra.Command {
Str("build", version.GitCommit).
Msgf("config is:\n%v", cfg)
- err = gomplate.RunTemplatesWithContext(ctx, cfg)
+ err = gomplate.Run(ctx, cfg)
cmd.SilenceErrors = true
cmd.SilenceUsage = true