Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 495cbcb

Browse files
authored
Merge pull request #232 from stmcginnis/klogv2
Update klog dependency to v2
2 parents c37ec05 + 6dd1c2e commit 495cbcb

File tree

6 files changed

+5
-65
lines changed

6 files changed

+5
-65
lines changed

controllers/suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
. "github.com/onsi/gomega"
2525
"k8s.io/client-go/kubernetes/scheme"
2626
"k8s.io/client-go/rest"
27-
"k8s.io/klog"
28-
"k8s.io/klog/klogr"
27+
"k8s.io/klog/v2"
28+
"k8s.io/klog/v2/klogr"
2929
"sigs.k8s.io/controller-runtime/pkg/client"
3030
"sigs.k8s.io/controller-runtime/pkg/envtest"
3131
"sigs.k8s.io/controller-runtime/pkg/envtest/printer"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
k8s.io/api v0.17.12
1313
k8s.io/apimachinery v0.17.12
1414
k8s.io/client-go v0.17.12
15-
k8s.io/klog v1.0.0
15+
k8s.io/klog/v2 v2.0.0
1616
k8s.io/utils v0.0.0-20201015054608-420da100c033
1717
sigs.k8s.io/cluster-api v0.3.12
1818
sigs.k8s.io/controller-runtime v0.5.14

0 commit comments

Comments
 (0)