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