1
0
forked from ALHP/ALHP.GO

removed duplicate error handling of ErrorNotEligible

This commit is contained in:
2023-05-21 21:51:02 +02:00
parent 32a4b9dc9e
commit 6e8e7ca90e

View File

@@ -114,9 +114,6 @@ func (b *BuildManager) buildQueue(queue []*ProtoPackage, ctx context.Context) er
b.repoPurge[pkg.FullRepo] <- []*ProtoPackage{pkg}
} else if err == nil {
log.Infof("[Q] build successful: %s->%s (%s)", pkg.FullRepo, pkg.Pkgbase, dur)
} else if err != nil {
log.Warningf("[Q] error building package %s->%s in %s: %s", pkg.FullRepo, pkg.Pkgbase, dur, err)
b.repoPurge[pkg.FullRepo] <- []*ProtoPackage{pkg}
}
doneQLock.Lock()
b.buildingLock.Lock()