mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
fs.json file should be closed in CompleteMultipartUpload (#5482)
This commit is contained in:
parent
3316dbc037
commit
b606ba3f81
@ -588,7 +588,7 @@ func (fs *fsObjects) CompleteMultipartUpload(bucket string, object string, uploa
|
||||
if err != nil {
|
||||
return oi, toObjectErr(errors.Trace(err), bucket, object)
|
||||
}
|
||||
defer fs.rwPool.Close(fsMetaPath)
|
||||
defer metaFile.Close()
|
||||
|
||||
fsMeta := fsMetaV1{}
|
||||
// Read saved fs metadata for ongoing multipart.
|
||||
|
Loading…
Reference in New Issue
Block a user