fix: removes object metadata loading from posix ListParts

In the POSIX `ListParts` implementation, there was a code snippet that loaded the object metadata, even though it wasn’t needed and never used in the response. This redundant code has now been removed.
This commit is contained in:
niksis02
2026-01-28 21:12:56 +04:00
parent 37e6d96d1b
commit 7017ffa2a3
-4
View File
@@ -2462,10 +2462,6 @@ func (p *Posix) ListParts(ctx context.Context, input *s3.ListPartsInput) (s3resp
nextpart = parts[len(parts)-1].PartNumber
}
userMetaData := make(map[string]string)
upiddir := filepath.Join(objdir, uploadID)
p.loadObjectMetaData(nil, bucket, upiddir, nil, userMetaData)
return s3response.ListPartsResult{
Bucket: bucket,
IsTruncated: oldLen != newLen,