mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
parent
120951d9e9
commit
7148c2490a
@ -1383,7 +1383,7 @@ func getClusterStorageMetrics() MetricsGroup {
|
||||
read: func(ctx context.Context) (metrics []Metric) {
|
||||
objLayer := newObjectLayerFn()
|
||||
// Service not initialized yet
|
||||
if objLayer == nil || globalIsGateway {
|
||||
if objLayer == nil || !globalIsErasure {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user