mirror of
https://github.com/minio/minio
synced 2024-09-06 00:37:25 +00: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 a new issue