mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Rename of structs and methods (#6230)
Rename of ErasureStorage to Erasure (and rename of related variables and methods)
This commit is contained in:
committed by
kannappanr
parent
2211a5f1b8
commit
52f6d5aafc
@@ -30,6 +30,9 @@ const (
|
||||
xlMetaJSONFile = "xl.json"
|
||||
)
|
||||
|
||||
// OfflineDisk represents an unavailable disk.
|
||||
var OfflineDisk StorageAPI // zero value is nil
|
||||
|
||||
// xlObjects - Implements XL object layer.
|
||||
type xlObjects struct {
|
||||
// name space mutex for object layer.
|
||||
@@ -137,7 +140,7 @@ func getStorageInfo(disks []StorageAPI) StorageInfo {
|
||||
}
|
||||
storageInfo.Used = used
|
||||
|
||||
storageInfo.Backend.Type = Erasure
|
||||
storageInfo.Backend.Type = BackendErasure
|
||||
storageInfo.Backend.OnlineDisks = onlineDisks
|
||||
storageInfo.Backend.OfflineDisks = offlineDisks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user