This commit is contained in:
Philippe Caseiro 2022-06-29 17:09:24 +02:00
parent 7f1f53bbd9
commit 75c6635051
1 changed files with 2 additions and 1 deletions

View File

@ -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)