mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
fix: calculate prometheus disks_offline/disks_total correctly (#11215)
fixes #11196
This commit is contained in:
@@ -47,7 +47,7 @@ func getFormatStr(strLen int, padding int) string {
|
||||
}
|
||||
|
||||
func mustGetStorageInfo(objAPI ObjectLayer) StorageInfo {
|
||||
storageInfo, _ := objAPI.StorageInfo(GlobalContext, false)
|
||||
storageInfo, _ := objAPI.StorageInfo(GlobalContext)
|
||||
return storageInfo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user