mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
Encrypt checksums with KMS on CompleteMultipartUpload (#16177)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user