From 6d8419c7dba6b3494a8a653a934bdada1de6c8580fe79f36bb0d2d45bf38d3cc Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Fri, 16 Aug 2024 14:27:57 +0200 Subject: [PATCH] . --- obs-staging-bot/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-staging-bot/main.go b/obs-staging-bot/main.go index 5bd8eda..e23f811 100644 --- a/obs-staging-bot/main.go +++ b/obs-staging-bot/main.go @@ -132,8 +132,8 @@ func processBuildStatus(h *common.RequestHandler, project, refProject *common.Bu slices.SortFunc(refProject.Result, BuildResultSorter) - j := 0 for i := 0; i < len(project.Result); i++ { + j := 0 for ; j < len(refProject.Result); j++ { if project.Result[i].Repository != refProject.Result[j].Repository || project.Result[i].Arch != refProject.Result[j].Arch {