Skip to content

Commit

Permalink
user metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarYuran committed Dec 25, 2024
1 parent 717f224 commit d558f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esti/s3_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func TestS3IfNoneMatch(t *testing.T) {
}

if tc.IfNoneMatch != "" {
opts.Header().Add("If-None-Match", tc.IfNoneMatch)
opts.UserMetadata["If-None-Match"] = tc.IfNoneMatch
}

_, err := client.PutObject(ctx, repo, tc.Path, strings.NewReader(tc.Content), int64(len(tc.Content)), opts)
Expand Down

0 comments on commit d558f57

Please sign in to comment.