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
+1 -1
View File
@@ -36,7 +36,7 @@ import (
type CheckPreconditionFn func(o ObjectInfo) bool
// EvalMetadataFn validates input objInfo and returns an updated metadata
type EvalMetadataFn func(o ObjectInfo) error
type EvalMetadataFn func(o *ObjectInfo) error
// GetObjectInfoFn is the signature of GetObjectInfo function.
type GetObjectInfoFn func(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error)