forked from TrueCloudLab/frostfs-node
Hello, I am a robot. #1
1 changed files with 1 additions and 1 deletions
|
@ -925,7 +925,7 @@ func New(ctx context.Context, log *logger.Logger, cfg *viper.Viper, errChan chan
|
||||||
queueSize: cfg.GetUint32("workers.subnet"),
|
queueSize: cfg.GetUint32("workers.subnet"),
|
||||||
})
|
})
|
||||||
|
|
||||||
if cfg.GetString("metrics.address") != "" {
|
if cfg.GetString("prometheus.address") != "" {
|
||||||
m := metrics.NewInnerRingMetrics()
|
m := metrics.NewInnerRingMetrics()
|
||||||
server.metrics = &m
|
server.metrics = &m
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue