pull/1261/merge
Carl Tashian 4 weeks ago committed by GitHub
commit 81b7d24a92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -702,6 +702,10 @@ retry:
if err != nil {
return nil, clientError(err)
}
if resp.StatusCode == 404 {
defer resp.Body.Close()
return nil, errs.BadRequest("a root certificate with that fingerprint was not found")
}
if resp.StatusCode >= 400 {
if !retried && c.retryOnError(resp) { //nolint:contextcheck // deeply nested context; retry using the same context
retried = true

Loading…
Cancel
Save