fix: updated_at -> updated-at

Signed-off-by: lomot <lomot@qq.com>
This commit is contained in:
lomot
2022-12-30 21:09:18 +08:00
parent fff089f30f
commit f3512a696f

View File

@@ -446,7 +446,7 @@ func (s3Client *s3Client) touch(ctx context.Context, key string) error {
Bucket: &s3Client.bucket,
CopySource: &copySource,
Key: &key,
Metadata: map[string]string{"updated_at": time.Now().String()},
Metadata: map[string]string{"updated-at": time.Now().String()},
MetadataDirective: "REPLACE",
}