From dc0408767a61d1b80beaba01aed2d997a91db3e0 Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Tue, 3 Mar 2015 19:29:12 -0800 Subject: [PATCH] Remove unnecessary close in client Signed-off-by: Stephen J Day --- registry/client/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/registry/client/client.go b/registry/client/client.go index 8e868c41..36be960d 100644 --- a/registry/client/client.go +++ b/registry/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} } }