From 5890cd4d7dae6877fb69aa78e15cc42b656c42e4 Mon Sep 17 00:00:00 2001 From: Anton Nikiforov Date: Fri, 10 Mar 2023 19:47:10 +0300 Subject: [PATCH] [#50] ir: Fix config property name for prometheus Signed-off-by: Anton Nikiforov --- pkg/innerring/innerring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/innerring/innerring.go b/pkg/innerring/innerring.go index 79555aa1..aeb5b15b 100644 --- a/pkg/innerring/innerring.go +++ b/pkg/innerring/innerring.go @@ -925,7 +925,7 @@ func New(ctx context.Context, log *logger.Logger, cfg *viper.Viper, errChan chan queueSize: cfg.GetUint32("workers.subnet"), }) - if cfg.GetString("metrics.address") != "" { + if cfg.GetString("prometheus.address") != "" { m := metrics.NewInnerRingMetrics() server.metrics = &m }