forked from TrueCloudLab/distribution
Remove unnecessary close in client
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
b1c8952c1a
commit
0b34048fe3
1 changed files with 0 additions and 1 deletions
|
@ -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}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue