Skip to content

Commit

Permalink
try to fix checksum errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nhulston committed Feb 3, 2025
1 parent c9151a4 commit e42f14c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ private static async Task<string> InitiateMultipartUpload(AmazonS3Client s3Clien
var initRequest = new InitiateMultipartUploadRequest
{
BucketName = bucketName,
Key = objectKey,
ServerSideEncryptionMethod = ServerSideEncryptionMethod.None
Key = objectKey
};

var initResponse = await s3Client.InitiateMultipartUploadAsync(initRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"Samples.AWS.S3": {
"commandName": "Project",
"environmentVariables": {
"AWS_REQUEST_CHECKSUM_CALCULATION": "WHEN_REQUIRED",
"COR_ENABLE_PROFILING": "1",
"COR_PROFILER": "{846F5F1C-F9AE-4B07-969E-05C26BC060D8}",
"COR_PROFILER_PATH": "$(SolutionDir)shared\\bin\\monitoring-home\\win-x64\\Datadog.Trace.ClrProfiler.Native.dll",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ private static string InitiateMultipartUpload(AmazonS3Client s3Client, string bu
var request = new InitiateMultipartUploadRequest
{
BucketName = bucketName,
Key = objectKey,
ServerSideEncryptionMethod = ServerSideEncryptionMethod.None
Key = objectKey
};

var response = s3Client.InitiateMultipartUpload(request);
Expand Down

0 comments on commit e42f14c

Please sign in to comment.