Skip to content

Commit

Permalink
Merge pull request #406 from pohly/linter
Browse files Browse the repository at this point in the history
examples: fix linter warning
  • Loading branch information
k8s-ci-robot authored Jun 10, 2024
2 parents ab53041 + d008cfe commit 7af45d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/output_test/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func TestKlogrStackZapr(t *testing.T) {
mapping[key] = value
}

newLogger := func(out io.Writer, v int, vmodule string) logr.Logger {
newLogger := func(out io.Writer, v int, _ string) logr.Logger {
// Backend: zapr as configured in k8s.io/component-base/logs/json.
klog.SetLogger(newZaprLogger(out, v))

Expand Down Expand Up @@ -177,7 +177,7 @@ func TestKlogrInternalStackZapr(t *testing.T) {
mapping[key] = value
}

newLogger := func(out io.Writer, v int, vmodule string) logr.Logger {
newLogger := func(out io.Writer, v int, _ string) logr.Logger {
// Backend: zapr as configured in k8s.io/component-base/logs/json.
klog.SetLogger(newZaprLogger(out, v))

Expand Down

0 comments on commit 7af45d6

Please sign in to comment.