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

pull/1503/head
SuperHgO 2 years ago committed by GitHub
parent 16b5fc3f60
commit 2271fcfdef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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),

Loading…
Cancel
Save