Skip to content

Commit

Permalink
Merge branch 'sha-handling' into unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
koplas committed Nov 22, 2024
2 parents 86d7ce1 + 7824f3b commit 990c74a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/csaf_downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -783,9 +783,8 @@ func loadHashes(client util.Client, hashes []hashFetchInfo) ([]byte, []byte, []b
}
if a.preferred && !b.preferred {
return -1
} else {
return 1
}
return 1
})
for _, h := range hashes {
if remote, data, err := loadHash(client, h.url); err != nil {
Expand Down

0 comments on commit 990c74a

Please sign in to comment.