From 190a007f5e3260ea1d788083b7b1af71481788db Mon Sep 17 00:00:00 2001 From: uturkarslan Date: Fri, 2 Feb 2024 17:09:21 +0100 Subject: [PATCH] Fix logger assignment --- apps/golang/httpserver/server/server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/golang/httpserver/server/server.go b/apps/golang/httpserver/server/server.go index d3a7f9d..80fafae 100644 --- a/apps/golang/httpserver/server/server.go +++ b/apps/golang/httpserver/server/server.go @@ -32,7 +32,8 @@ func New( ) *Server { return &Server{ - MySql: db, + logger: log, + MySql: db, MySqlOtelEnricher: otelmysql.NewMysqlEnricher( otelmysql.WithTracerName(SERVER), otelmysql.WithServer(db.Opts.Server),