Encrypt checksums with KMS on CompleteMultipartUpload (#16177)

This commit is contained in:
Klaus Post
2022-12-07 19:18:18 +01:00
committed by GitHub
parent 90d35b70b4
commit 12fd6678ee
3 changed files with 34 additions and 2 deletions
+1
View File
@@ -2267,6 +2267,7 @@ func uploadTestObject(t *testing.T, apiRouter http.Handler, creds auth.Credentia
}
checkRespErr := func(rec *httptest.ResponseRecorder, exp int) {
t.Helper()
if rec.Code != exp {
b, err := io.ReadAll(rec.Body)
t.Fatalf("Expected: %v, Got: %v, Body: %s, err: %v", exp, rec.Code, string(b), err)