- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for nonexistent (1.5 sec)
-
cmd/erasure-object.go
if bucket == minioMetaBucket { return false } switch { // Check if we have a read quorum issue case errors.Is(err, errErasureReadQuorum): return true // Check if the object is inexistent in most disks but not all of them case errors.Is(err, errFileNotFound) || errors.Is(err, errFileVersionNotFound): for i := range errs { if errs[i] == nil { return true } } } return false
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 77.2K bytes - Viewed (2) -
cmd/xl-storage_test.go
// TestXLStorages xlStorage.getDiskInfo() func TestXLStorageGetDiskInfo(t *testing.T) { path := t.TempDir() testCases := []struct { diskPath string expectedErr error }{ {path, nil}, {"/nonexistent-dir", errDiskNotFound}, } // Check test cases. for _, testCase := range testCases { if _, err := getDiskInfo(testCase.diskPath); err != testCase.expectedErr {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 17:45:28 GMT 2024 - 66.7K bytes - Viewed (0) -
cmd/object-handlers_test.go
}, // Test case - 2. // Abort non-existing upload ID. { bucket: bucketName, object: objectName, uploadID: "nonexistent-upload-id", accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedRespStatus: http.StatusNotFound, }, // Test case - 3.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 160K bytes - Viewed (0)