forked from ALHP/ALHP.GO
removed duplicate error handling of ErrorNotEligible
This commit is contained in:
@@ -114,9 +114,6 @@ func (b *BuildManager) buildQueue(queue []*ProtoPackage, ctx context.Context) er
|
|||||||
b.repoPurge[pkg.FullRepo] <- []*ProtoPackage{pkg}
|
b.repoPurge[pkg.FullRepo] <- []*ProtoPackage{pkg}
|
||||||
} else if err == nil {
|
} else if err == nil {
|
||||||
log.Infof("[Q] build successful: %s->%s (%s)", pkg.FullRepo, pkg.Pkgbase, dur)
|
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()
|
doneQLock.Lock()
|
||||||
b.buildingLock.Lock()
|
b.buildingLock.Lock()
|
||||||
|
Reference in New Issue
Block a user