diff --git a/plugins/server.go b/plugins/server.go index b1d43612480..3b0348a68b4 100644 --- a/plugins/server.go +++ b/plugins/server.go @@ -68,7 +68,7 @@ func (s *Server) start() error { if err != nil { return fmt.Errorf("error getting environment configuration: %w", err) } - s.PromServer = NewPromServer(envCfg.PrometheusPort(), s.lggr) + s.PromServer = NewPromServer(envCfg.PrometheusPort(), s.Logger) err = s.PromServer.Start() if err != nil { return fmt.Errorf("error starting prometheus server: %w", err)