s3: Return invalid bucket name the first thing in all S3 calls (#17742)

This commit is contained in:
Anis Eleuch
2023-07-28 18:49:20 +01:00
committed by GitHub
parent 114fab4c70
commit 7057d00a28
3 changed files with 16 additions and 4 deletions

View File

@@ -355,7 +355,7 @@ func testListMultipartUploadsHandler(obj ObjectLayer, instanceType, bucketName s
maxUploads: "0",
accessKey: credentials.AccessKey,
secretKey: credentials.SecretKey,
expectedRespStatus: http.StatusNotFound,
expectedRespStatus: http.StatusBadRequest,
shouldPass: false,
},
// Test case - 2.