Try 07
This commit is contained in:
parent
7f1f53bbd9
commit
75c6635051
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue