Remove unnecessary close in client

Signed-off-by: Stephen J Day <stephen.day@docker.com>
pull/231/head
Stephen J Day 2015-03-03 19:29:12 -08:00
parent ce6e7c9af2
commit dc0408767a
1 changed files with 0 additions and 1 deletions

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}
}
}