diff --git a/obs-staging-bot/main.go b/obs-staging-bot/main.go index 5aa5160..04595e4 100644 --- a/obs-staging-bot/main.go +++ b/obs-staging-bot/main.go @@ -132,9 +132,11 @@ func processBuildStatus(h *common.RequestHandler, project, refProject *common.Bu slices.SortFunc(refProject.Result, BuildResultSorter) - done: + 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 {