- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for formatErasureV3ThisEmpty (0.13 sec)
-
cmd/format-erasure_test.go
} // empty format to indicate disk not found, but this // empty should return false. formats[0] = nil if ok := formatErasureV3ThisEmpty(formats); ok { t.Fatalf("expected value false, got %t", ok) } formats[2].Erasure.This = "" if ok := formatErasureV3ThisEmpty(formats); !ok { t.Fatalf("expected value true, got %t", ok) } } // Tests xl format migration.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/format-erasure.go
storageDisks[index], err = newStorageAPI(endpoints[index], opts) return err }, index) } return storageDisks, g.Wait() } // formatErasureV3ThisEmpty - find out if '.This' field is empty // in any of the input `formats`, if yes return true. func formatErasureV3ThisEmpty(formats []*formatErasureV3) bool { for _, format := range formats { if format == nil { continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 23.1K bytes - Viewed (0)