Fix for range over int constant

This commit is contained in:
stevef 2026-04-17 16:56:16 +02:00
parent c501efe6b6
commit 3b9829b208

View file

@ -24,7 +24,7 @@ func DoRequestWithRetry(client *http.Client, req *http.Request) (*http.Response,
var resp *http.Response
var err error
for i := range maxRetries {
for i := 0; i < maxRetries; i++ {
if i > 0 && resp != nil {
resp.Body.Close()
}