From 5e1d40d9100a9632302421922990027e9edb4e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 12 Mar 2026 23:17:15 +0100 Subject: [PATCH] fix: remove no-op log.GetLevel() call in SetLogLevel The return value was unused and had no effect on logger state, misleading readers into thinking it was needed for initialization. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- util/cli.go | 1 - 1 file changed, 1 deletion(-) diff --git a/util/cli.go b/util/cli.go index 4da26a8..c84492f 100644 --- a/util/cli.go +++ b/util/cli.go @@ -116,7 +116,6 @@ func SetLogLevel(cmd *cli.Command) error { default: return fmt.Errorf("unknown log level: %s", logLevel) } - log.GetLevel() return nil }