no support warnings

This commit is contained in:
Diego Fernando Carrión 2023-10-23 11:52:28 +02:00
parent 5115ed74d4
commit 053daed387
Signed by: CRThaze
GPG Key ID: 0F647F8A6A3AF588

View File

@ -290,7 +290,6 @@ func main() {
tpl := template.New("base").Funcs(sprig.FuncMap())
values := mergeValues()
// fmt.Fprintf(os.Stderr, "%+v\n", values)
if len(flag.Args()) == 0 {
// With no provided arguments read from STDIN if anything is immediately available through it.
@ -326,7 +325,6 @@ func main() {
checkErr(err)
if flags.helm {
fmt.Fprintf(os.Stderr, "WARN: Helm Compatibility only partially implemented.\n")
ht = helm.NewTemplaterWithBytes(data, lo)
} else {
tpl, err = tpl.Parse(string(data))
@ -336,7 +334,6 @@ func main() {
// Otherwise use the provided tplFiles/directories for templates to render.
tplFiles := expandFiles(flag.Args())
if flags.helm {
fmt.Fprintf(os.Stderr, "WARN: Helm Compatibility only partially implemented.\n")
ht, err = helm.NewTemplaterWithFiles(tplFiles, lo)
checkErr(err)
rendered, err := ht.Render(values)