mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Fix checksum error during startup when minio is loaded via PATH environment variable (#20509)
This commit is contained in:
@@ -1638,7 +1638,7 @@ func ExecObjectLayerAPIAnonTest(t *testing.T, obj ObjectLayer, testName, bucketN
|
||||
t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Object API Nil Test expected to fail with %d, but failed with %d", accessDenied, rec.Code)))
|
||||
}
|
||||
|
||||
// HEAD HTTTP request doesn't contain response body.
|
||||
// HEAD HTTP request doesn't contain response body.
|
||||
if anonReq.Method != http.MethodHead {
|
||||
// read the response body.
|
||||
var actualContent []byte
|
||||
|
||||
Reference in New Issue
Block a user