Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Jan 22, 2024
1 parent 9edc5a9 commit 224075b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cmd/lingo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 224075b

Please sign in to comment.