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>
This commit is contained in:
Manuel Rüger 2026-03-12 23:17:15 +01:00
parent d68f8c3bb3
commit 5e1d40d910

View File

@ -116,7 +116,6 @@ func SetLogLevel(cmd *cli.Command) error {
default:
return fmt.Errorf("unknown log level: %s", logLevel)
}
log.GetLevel()
return nil
}