Skip to content

Commit

Permalink
Merge pull request #128 from Kartik494/bumpdependencies
Browse files Browse the repository at this point in the history
Bump Klog dependency to v2
  • Loading branch information
k8s-ci-robot authored Dec 3, 2020
2 parents 7b9c3af + 9223785 commit 77cb513
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/csi-resizer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (

"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/client-go/informers"
"k8s.io/klog"
"k8s.io/klog/v2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
k8s.io/apimachinery v0.19.0
k8s.io/client-go v0.19.0
k8s.io/csi-translation-lib v0.19.0
k8s.io/klog v1.0.0
k8s.io/klog/v2 v2.2.0
)

replace k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.19.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
"k8s.io/client-go/tools/cache"
"k8s.io/client-go/tools/record"
"k8s.io/client-go/util/workqueue"
"k8s.io/klog"
"k8s.io/klog/v2"
)

// ResizeController watches PVCs and checks if they are requesting an resizing operation.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resizer/csi_resizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"k8s.io/client-go/informers"
"k8s.io/client-go/kubernetes"
csitrans "k8s.io/csi-translation-lib"
"k8s.io/klog"
"k8s.io/klog/v2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/resizer/trivial_resizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
csitrans "k8s.io/csi-translation-lib"
"k8s.io/klog"
"k8s.io/klog/v2"
)

// newTrivialResizer returns a trivial resizer which will mark all pvs' resize process as finished.
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,9 @@ k8s.io/component-base/version
k8s.io/csi-translation-lib
k8s.io/csi-translation-lib/plugins
# k8s.io/klog v1.0.0
## explicit
k8s.io/klog
# k8s.io/klog/v2 v2.2.0
## explicit
k8s.io/klog/v2
# k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6
k8s.io/kube-openapi/pkg/util/proto
Expand Down

0 comments on commit 77cb513

Please sign in to comment.