Skip to content

Commit

Permalink
Merge pull request #125926 from MadhavJivrajani/bump-staticcheck-excl…
Browse files Browse the repository at this point in the history
…ude-SA1006

[go1.23] hack: bump go-tools and exclude SA1006

Kubernetes-commit: fe1840205cd1707ac4546aa001247ed1774ce545
  • Loading branch information
k8s-publishing-bot committed Jul 15, 2024
2 parents e801fe9 + 64c7d3f commit 6f32dbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ require (
golang.org/x/sys v0.21.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/apimachinery v0.0.0-20240713182533-d7e1c5311169
k8s.io/client-go v0.0.0-20240713183232-34751e103ae1
k8s.io/client-go v0.0.0-20240715183237-0724a9928fca
k8s.io/klog/v2 v2.130.1
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ k8s.io/api v0.0.0-20240713182828-fc8a03c10db3 h1:/HdJNMoAomKcMa1p3ei3yF65O36bO3+
k8s.io/api v0.0.0-20240713182828-fc8a03c10db3/go.mod h1:P1YOh3DKAaEYfUIAqsGSOKkLqz7k6Z8eORxlNIDQD0E=
k8s.io/apimachinery v0.0.0-20240713182533-d7e1c5311169 h1:uUu5XUsiHPkOU48Bn2d2DoqUQDG9Y02fD43VqYbagPI=
k8s.io/apimachinery v0.0.0-20240713182533-d7e1c5311169/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo=
k8s.io/client-go v0.0.0-20240713183232-34751e103ae1 h1:g2031r79lLso9fNr/KbU83GAsOjFyLAI3JGX7Xdr3gI=
k8s.io/client-go v0.0.0-20240713183232-34751e103ae1/go.mod h1:4MV9/0pbyHXOkdxPNA5dI3+KKKqNfqA4BijKqKDjN/U=
k8s.io/client-go v0.0.0-20240715183237-0724a9928fca h1:2Ospr0kMxN3//rt7jkM+K//9/mTu/g6+wcuOYQEkBsA=
k8s.io/client-go v0.0.0-20240715183237-0724a9928fca/go.mod h1:4MV9/0pbyHXOkdxPNA5dI3+KKKqNfqA4BijKqKDjN/U=
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag=
Expand Down
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 6f32dbe

Please sign in to comment.