diff --git a/pkg/compiler/compiler.go b/pkg/compiler/compiler.go index 02f1dcec..16d928f0 100644 --- a/pkg/compiler/compiler.go +++ b/pkg/compiler/compiler.go @@ -907,7 +907,7 @@ func (cs *LuetCompiler) templatePackage(vals []map[string]interface{}, pack pkg. } } - if err := mergo.Merge(&td, raw); err != nil { + if err := mergo.Merge(&td, templatedata(raw)); err != nil { return nil, errors.Wrap(err, "merging values maps") }