fix: s3(minio) file remove operation hangout (#1491)

This commit is contained in:
SuperHgO 2022-10-08 19:21:38 +08:00 committed by GitHub
parent 16b5fc3f60
commit 2271fcfdef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -407,6 +407,7 @@ func (handler *Driver) Meta(ctx context.Context, path string) (*MetaData, error)
if err != nil {
return nil, err
}
defer res.Body.Close()
return &MetaData{
Size: uint64(*res.ContentLength),