Persist updated metadata (#16160)

This commit is contained in:
Klaus Post
2022-12-02 17:35:04 +01:00
committed by GitHub
parent 5a8df7efb3
commit 1cd875de1e
5 changed files with 9 additions and 9 deletions

View File

@@ -503,7 +503,7 @@ func updateObjectMetadataWithZipInfo(ctx context.Context, objectAPI ObjectLayer,
popts := ObjectOptions{
MTime: srcInfo.ModTime,
VersionID: srcInfo.VersionID,
EvalMetadataFn: func(oi ObjectInfo) error {
EvalMetadataFn: func(oi *ObjectInfo) error {
oi.UserDefined[archiveTypeMetadataKey] = archiveType
oi.UserDefined[archiveInfoMetadataKey] = zipInfoStr
return nil