mirror of
https://github.com/mudler/luet.git
synced 2025-09-02 07:45:02 +00:00
Move selection logic to a db accessor #19
In this way the compiler consume such accessor, and make it possible to expand whenever used
This commit is contained in:
@@ -482,7 +482,7 @@ func (cs *LuetCompiler) compile(concurrency int, keepPermissions bool, p Compila
|
||||
|
||||
func (cs *LuetCompiler) FromPackage(p pkg.Package) (CompilationSpec, error) {
|
||||
|
||||
pack, err := cs.Database.FindPackage(p)
|
||||
pack, err := cs.Database.FindPackageCandidate(p)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user