- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checkDiskFatalErrs (0.18 sec)
-
cmd/prepare-storage.go
// Attempt to load all `format.json` from all disks. formatConfigs, sErrs := loadFormatErasureAll(storageDisks, false) if err := checkDiskFatalErrs(sErrs); err != nil { return nil, err } for i, err := range sErrs { if err != nil && !errors.Is(err, errXLBackend) && !errors.Is(err, errUnformattedDisk) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
cmd/storage-rest-server.go
resp, err := s.getStorage().VerifyFile(r.Context(), volume, filePath, fi) done(err) if err != nil { return } buf, _ := resp.MarshalMsg(nil) w.Write(buf) } func checkDiskFatalErrs(errs []error) error { // This returns a common error if all errors are // same errors, then there is no point starting // the server. if countErrs(errs, errUnsupportedDisk) == len(errs) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 45.7K bytes - Viewed (0)