From 224075b69684d5e192a93c3852b44f2dafe8336b Mon Sep 17 00:00:00 2001 From: Alex Peters Date: Mon, 22 Jan 2024 08:39:37 +0100 Subject: [PATCH] Review feedback --- cmd/lingo/main.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cmd/lingo/main.go b/cmd/lingo/main.go index 8d7af897..61a3013f 100644 --- a/cmd/lingo/main.go +++ b/cmd/lingo/main.go @@ -165,12 +165,8 @@ func run() error { wg.Add(1) go func() { defer func() { - if err := statsServer.Shutdown(context.Background()); err != nil { - setupLog.Error(err, "shutdown stats server") - } - if err := proxyServer.Shutdown(context.Background()); err != nil { - setupLog.Error(err, "shutdown proxy server") - } + _ = statsServer.Shutdown(context.Background()) + _ = proxyServer.Shutdown(context.Background()) wg.Done() }() if err := mgr.Start(ctx); err != nil {