Skip to content

Commit

Permalink
.*: fix lint errors
Browse files Browse the repository at this point in the history
Fix SA4032 and SA3000 which are flagged after bumping to go1.23rc1
and v0.5.0-rc1 of go-tools.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>

Kubernetes-commit: c5481b041310507699ad6eb8249cc5944c66827b
  • Loading branch information
MadhavJivrajani authored and k8s-publishing-bot committed Jul 15, 2024
1 parent e801fe9 commit 64c7d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logs/example/test/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ package logger_test

import (
"flag"
"os"
"testing"

"k8s.io/component-base/logs/example"
Expand Down Expand Up @@ -49,5 +50,5 @@ func TestMain(m *testing.M) {
ktesting.DefaultConfig = ktesting.NewConfig(ktesting.Verbosity(2))
ktesting.DefaultConfig.AddFlags(flag.CommandLine)
flag.Parse()
m.Run()
os.Exit(m.Run())
}

0 comments on commit 64c7d3f

Please sign in to comment.