From cfc5247820c381310763faa718cdbe19aa4390a3 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 4 Jan 2025 17:06:35 +0100 Subject: fix: Use correct logger --- cmd/silentct-mon/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd/silentct-mon') diff --git a/cmd/silentct-mon/main.go b/cmd/silentct-mon/main.go index ce0a548..24a4d03 100644 --- a/cmd/silentct-mon/main.go +++ b/cmd/silentct-mon/main.go @@ -5,7 +5,6 @@ import ( "errors" "flag" "fmt" - "log" "net/http" "os" "os/signal" @@ -229,7 +228,7 @@ func main() { defer wg.Wait() defer cancel() if err := mgr.Run(ctx); err != nil { - log.Fatalf("manager: %v\n", err) + cfg.log.Fatalf("manager: %v\n", err) return 1 } return 0 -- cgit v1.2.3