Use candidate for search, as doesn't have a selector

This commit is contained in:
Ettore Di Giacinto
2020-11-15 11:47:32 +01:00
parent b9c8e50e42
commit ac149e9336

View File

@@ -741,7 +741,7 @@ func (cs *LuetCompiler) FromPackage(p pkg.Package) (CompilationSpec, error) {
}
packsRaw, err := pkg.GetRawPackages(data)
raw := packsRaw.Find(p.GetName(), p.GetCategory(), p.GetVersion())
raw := packsRaw.Find(pack.GetName(), pack.GetCategory(), pack.GetVersion())
dat, err := helpers.RenderHelm(string(dataBuild), raw)
if err != nil {