Skip to content

Commit 64c7d3f

Browse files
MadhavJivrajanik8s-publishing-bot
authored andcommitted
.*: fix lint errors
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
1 parent e801fe9 commit 64c7d3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

logs/example/test/logger_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ package logger_test
2121

2222
import (
2323
"flag"
24+
"os"
2425
"testing"
2526

2627
"k8s.io/component-base/logs/example"
@@ -49,5 +50,5 @@ func TestMain(m *testing.M) {
4950
ktesting.DefaultConfig = ktesting.NewConfig(ktesting.Verbosity(2))
5051
ktesting.DefaultConfig.AddFlags(flag.CommandLine)
5152
flag.Parse()
52-
m.Run()
53+
os.Exit(m.Run())
5354
}

0 commit comments

Comments
 (0)