Merge pull request #8510 from feicun/master

Close gzip reader when done
pull/8522/head
Matthew Fisher 4 years ago committed by GitHub
commit 0498f0e5a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,6 +68,7 @@ func decodeRelease(data string) (*rspb.Release, error) {
if err != nil {
return nil, err
}
defer r.Close()
b2, err := ioutil.ReadAll(r)
if err != nil {
return nil, err

Loading…
Cancel
Save