We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5aba375 + dee4b29 commit d7d4d8eCopy full SHA for d7d4d8e
registry/tokentransport.go
@@ -35,6 +35,7 @@ func (t *TokenTransport) RoundTrip(req *http.Request) (*http.Response, error) {
35
return resp, err
36
}
37
if authService := isTokenDemand(resp); authService != nil {
38
+ _ = resp.Body.Close()
39
resp, err = t.authAndRetry(authService, req)
40
41
0 commit comments