Hello, I am a robot. #1

Closed
fyrchik wants to merge 70 commits from test-2144074865 into master
Showing only changes of commit 5890cd4d7d - Show all commits

View file

@ -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
} }