Skip to content

Commit 8080c01

Browse files
authored
Merge pull request moby#3444 from LomotHo/master
[remotecache/s3] fix: "updated_at" in http header can't pass some http gateway, "_" -> "-"
2 parents b6bd290 + f3512a6 commit 8080c01

File tree

1 file changed

+1
-1
lines changed
  • cache/remotecache/s3

1 file changed

+1
-1
lines changed

cache/remotecache/s3/s3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ func (s3Client *s3Client) touch(ctx context.Context, key string) error {
446446
Bucket: &s3Client.bucket,
447447
CopySource: &copySource,
448448
Key: &key,
449-
Metadata: map[string]string{"updated_at": time.Now().String()},
449+
Metadata: map[string]string{"updated-at": time.Now().String()},
450450
MetadataDirective: "REPLACE",
451451
}
452452

0 commit comments

Comments
 (0)