Skip to content

Commit 9e07bd9

Browse files
authored
fix: multipart upload doesn't contain etag (#1339)
* fix: multipart upload doesn't contain etag * Update PutObjectResponse.cs * format * functional test * format * Update FunctionalTest.cs
1 parent 5b55b0a commit 9e07bd9

18 files changed

+551
-558
lines changed

Minio.Examples/Cases/SelectObjectContent.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,12 @@ public static async Task Run(
6161
CompressionType = SelectCompressionType.NONE,
6262
CSV = new CSVInputOptions
6363
{
64-
FileHeaderInfo = CSVFileHeaderInfo.None,
65-
RecordDelimiter = "\n",
66-
FieldDelimiter = ",",
67-
},
64+
FileHeaderInfo = CSVFileHeaderInfo.None, RecordDelimiter = "\n", FieldDelimiter = ","
65+
}
6866
};
6967
var outputSerialization = new SelectObjectOutputSerialization
7068
{
71-
CSV = new CSVOutputOptions { RecordDelimiter = "\n", FieldDelimiter = "," },
69+
CSV = new CSVOutputOptions { RecordDelimiter = "\n", FieldDelimiter = "," }
7270
};
7371
var args = new SelectObjectContentArgs()
7472
.WithBucket(bucketName)

Minio.Examples/Program.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,7 @@ await PutObject
238238
// Uncomment to specify SSE-KMS encryption option
239239
var sseKms = new SSEKMS(
240240
"kms-key",
241-
new Dictionary<string, string>(StringComparer.Ordinal)
242-
{
243-
{ "kms-context", "somevalue" },
244-
}
241+
new Dictionary<string, string>(StringComparer.Ordinal) { { "kms-context", "somevalue" } }
245242
);
246243

247244
// Upload encrypted object

0 commit comments

Comments
 (0)