From 75c6635051e87540b0a2dca0d174ce76ce8e80cf Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 29 Jun 2022 17:09:24 +0200 Subject: [PATCH] Try 07 --- pkg/templater/files.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/templater/files.go b/pkg/templater/files.go index f1244c1..691f1b5 100644 --- a/pkg/templater/files.go +++ b/pkg/templater/files.go @@ -1,6 +1,7 @@ package templater import ( + "log" "path/filepath" "strconv" @@ -58,7 +59,7 @@ func (cf *ConfigFile) ProcessTemplate(source string, values []byte) (string, err var result string var err error - fmt.Printf("Processing %s\n", source) + log.Printf("\t Generating template %s\n", source) if cf.TemplateType == "hcl" { // The template is an hcl template so we call processHCLTemplate result, err = cf.processHCLTemplate(source, values)