diff --git a/pkg/network/metrics/metrics.go b/pkg/network/metrics/metrics.go index 90bed7a57..8755ff5a8 100644 --- a/pkg/network/metrics/metrics.go +++ b/pkg/network/metrics/metrics.go @@ -26,7 +26,7 @@ type PrometheusConfig struct { func NewMetricsService(cfg PrometheusConfig) *Service { return &Service{ &http.Server{ - Addr: cfg.Address + ":" + cfg.Port, + Addr: cfg.Address + ":" + cfg.Port, Handler: promhttp.Handler(), }, cfg, }