mirror of
https://github.com/helm/helm.git
synced 2026-08-04 15:10:47 +00:00
Close gzip reader when done.
Signed-off-by: Haoming Zhang <feicun1006@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user