This commit is contained in:
Adam Majer 2024-08-16 14:32:32 +02:00
parent 16e3d7495f
commit 0b18e32fe0

View File

@ -132,9 +132,11 @@ func processBuildStatus(h *common.RequestHandler, project, refProject *common.Bu
slices.SortFunc(refProject.Result, BuildResultSorter)
h.Log("comparing results %d vs. ref %d", len(project.Result), len(refProject.Result))
done:
for i := 0; i < len(project.Result); i++ {
j := 0
h.Log("searching for %s/%s", project.Result[i].Repository, project.Result[i].Arch)
for ; j < len(refProject.Result); j++ {
if project.Result[i].Repository != refProject.Result[j].Repository ||
project.Result[i].Arch != refProject.Result[j].Arch {