mirror of https://github.com/minio/minio.git
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