From 63dd8d6315b0cce7775942ea9aea0ce738c4bd92 Mon Sep 17 00:00:00 2001 From: marcello33 Date: Mon, 7 Oct 2024 07:50:23 +0200 Subject: [PATCH] fix: lint --- internal/cli/server/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cli/server/server.go b/internal/cli/server/server.go index afeb25f3d1..4d87d64608 100644 --- a/internal/cli/server/server.go +++ b/internal/cli/server/server.go @@ -364,8 +364,8 @@ func (s *Server) setupMetrics(config *TelemetryConfig, serviceName string) error timeouts := rpc.DefaultHTTPTimeouts promServer := &http.Server{ - Addr: config.PrometheusAddr, - Handler: prometheusMux, + Addr: config.PrometheusAddr, + Handler: prometheusMux, ReadTimeout: timeouts.ReadTimeout, ReadHeaderTimeout: timeouts.ReadHeaderTimeout, WriteTimeout: timeouts.WriteTimeout,