chore(deps): update Go version (#4798)

Signed-off-by: anchore-oss-update-bot <anchore-oss-update-bot@users.noreply.github.com>
Co-authored-by: anchore-oss-update-bot <anchore-oss-update-bot@users.noreply.github.com>
This commit is contained in:
anchore-oss-update-bot
2026-04-20 10:03:15 -04:00
committed by GitHub
co-authored by anchore-oss-update-bot
parent 89e4e609d5
commit 33bc4b8397
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ func Less(i, j Package) bool {
jLocations := j.Locations.ToSlice()
if i.Type == j.Type {
maxLen := max(len(jLocations), len(iLocations))
for l := 0; l < maxLen; l++ {
for l := range maxLen {
if len(iLocations) < l+1 || len(jLocations) < l+1 {
if len(iLocations) == len(jLocations) {
break