diff options
author | Rasmus Dahlberg <rgdd@glasklarteknik.se> | 2025-01-04 17:06:35 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rgdd@glasklarteknik.se> | 2025-01-04 17:06:35 +0100 |
commit | cfc5247820c381310763faa718cdbe19aa4390a3 (patch) | |
tree | 9eff113a355baf04a95aeb788bc11309f6f93b0b /cmd | |
parent | 705bc4ce0f919714a675ed1d0efd0de71b8ca2c8 (diff) |
fix: Use correct logger
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/silentct-mon/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
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 |