From 0b34048fe36460c96a02b5ea0345f64618ba6172 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 --- docs/client/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/client/client.go b/docs/client/client.go index 8e868c41..36be960d 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} } }