diff --git a/docs/client/client.go b/docs/client/client.go index 8e868c418..36be960d1 100644 --- a/docs/client/client.go +++ b/docs/client/client.go @@ -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} } }