Try 07
This commit is contained in:
parent
7f1f53bbd9
commit
75c6635051
|
@ -1,6 +1,7 @@
|
||||||
package templater
|
package templater
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"log"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
@ -58,7 +59,7 @@ func (cf *ConfigFile) ProcessTemplate(source string, values []byte) (string, err
|
||||||
var result string
|
var result string
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
fmt.Printf("Processing %s\n", source)
|
log.Printf("\t Generating template %s\n", source)
|
||||||
if cf.TemplateType == "hcl" {
|
if cf.TemplateType == "hcl" {
|
||||||
// The template is an hcl template so we call processHCLTemplate
|
// The template is an hcl template so we call processHCLTemplate
|
||||||
result, err = cf.processHCLTemplate(source, values)
|
result, err = cf.processHCLTemplate(source, values)
|
||||||
|
|
Loading…
Reference in New Issue