From 29735666263c08bcb925c9b349077f5318a5bbb0 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 27 Sep 2023 14:14:41 -0300 Subject: [PATCH] core/plugins: fix logger field reference (#10815) (#10817) (cherry picked from commit c1348edea7f0a860ee80493886994eb07d992ae4) Co-authored-by: Jordan Krage --- plugins/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)