1
0
This commit is contained in:
dump_stack() 2023-05-11 20:24:54 +00:00
parent da6843f9b7
commit 7e545586bc
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -287,12 +287,15 @@ func Packages(srcname, version, arch, regex string) (pkgs []Package, err error)
continue continue
} }
log.Trace().Msgf("matched %v", res.Name)
var pkg Package var pkg Package
pkg, err = NewPackage(res.Name, srcname, version, arch) pkg, err = NewPackage(res.Name, srcname, version, arch)
if err != nil { if err != nil {
return return
} }
log.Trace().Msgf("append %v", pkg.Name)
pkgs = append(pkgs, pkg) pkgs = append(pkgs, pkg)
} }