1
0
Fork 1
mirror of https://github.com/distribution/distribution synced 2024-10-07 08:07:54 +00:00

Merge pull request #231 from stevvooe/remove-unnecessary-close

Remove unnecessary close in client
This commit is contained in:
Josh Hawn 2015-03-04 18:19:35 -08:00
commit e249b478d9

View file

@ -283,7 +283,6 @@ func (r *clientImpl) BlobLength(name string, dgst digest.Digest) (int, error) {
}
return -1, &errs
default:
response.Body.Close()
return -1, &UnexpectedHTTPStatusError{Status: response.Status}
}
}