mirror of
https://github.com/mudler/luet.git
synced 2025-09-07 10:10:17 +00:00
⚙️ Fixup corner case when templating requires
Adds also specific tests to cover that area
This commit is contained in:
@@ -1461,7 +1461,7 @@ func (cs *LuetCompiler) templatePackage(vals []map[string]interface{}, pack *typ
|
||||
return nil, errors.Wrap(err, "getting raw packages")
|
||||
}
|
||||
|
||||
raw := packsRaw.Find(pack.GetName(), pack.GetCategory(), pack.GetVersion())
|
||||
raw := packsRaw.Find(*pack)
|
||||
td := templatedata{}
|
||||
if len(vals) > 0 {
|
||||
for _, bv := range vals {
|
||||
|
Reference in New Issue
Block a user