mirror of https://github.com/cloudreve/Cloudreve
fix: s3(minio) file remove operation hangout (#1491)
parent
16b5fc3f60
commit
2271fcfdef
|
@ -407,6 +407,7 @@ func (handler *Driver) Meta(ctx context.Context, path string) (*MetaData, error)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
defer res.Body.Close()
|
||||||
|
|
||||||
return &MetaData{
|
return &MetaData{
|
||||||
Size: uint64(*res.ContentLength),
|
Size: uint64(*res.ContentLength),
|
||||||
|
|
Loading…
Reference in New Issue