Skip to content

Commit

Permalink
Clean up last imports of k8s.io/klog in favor of k8s.io/klog/v2 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ialidzhikov authored Jun 23, 2023
1 parent b601da2 commit 12d5585
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 1,833 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
clientset "k8s.io/client-go/kubernetes"
restclient "k8s.io/client-go/rest"

"k8s.io/klog"
"k8s.io/klog/v2"
)

// CoreClientBuilder allows you to get clients and configs for core controllers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
clientset "github.com/gardener/machine-controller-manager/pkg/client/clientset/versioned"
restclient "k8s.io/client-go/rest"

"k8s.io/klog"
"k8s.io/klog/v2"
)

// MachineClientBuilder allows you to get clients and configs for machine controllers
Expand Down
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/mcm/mcm_cloud_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"k8s.io/apimachinery/pkg/api/resource"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/types"
"k8s.io/klog"
"k8s.io/klog/v2"
schedulerframework "k8s.io/kubernetes/pkg/scheduler/framework"

"k8s.io/autoscaler/cluster-autoscaler/cloudprovider"
Expand Down
1 change: 0 additions & 1 deletion cluster-autoscaler/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ require (
k8s.io/cloud-provider v0.26.3
k8s.io/component-base v0.26.3
k8s.io/component-helpers v0.26.3
k8s.io/klog v1.0.0
k8s.io/klog/v2 v2.80.1
k8s.io/kubelet v0.26.3
k8s.io/kubernetes v1.26.3
Expand Down
2 changes: 0 additions & 2 deletions cluster-autoscaler/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1179,8 +1179,6 @@ k8s.io/csi-translation-lib v0.26.3 h1:XpC3yeBSz+qls9zk3Tqg6r2sZxFePGe1fIlSlmds5X
k8s.io/csi-translation-lib v0.26.3/go.mod h1:i++hspfN3AZsA5cYQ1QFnflIQhirsoc/8bOLkaVJG/g=
k8s.io/dynamic-resource-allocation v0.26.3 h1:WBI4xDoMySaH5VJe0y514O3rC4gyiJppC0EkDo6mHq0=
k8s.io/dynamic-resource-allocation v0.26.3/go.mod h1:8nUg20y2DgAv8v+Yuv7O5+rLZa7jbjsU3KvDcBiv2b8=
k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8=
k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
k8s.io/klog/v2 v2.80.1 h1:atnLQ121W371wYYFawwYx1aEY2eUfs4l3J72wtgAwV4=
k8s.io/klog/v2 v2.80.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
Expand Down
16 changes: 0 additions & 16 deletions cluster-autoscaler/vendor/k8s.io/klog/.travis.yml

This file was deleted.

22 changes: 0 additions & 22 deletions cluster-autoscaler/vendor/k8s.io/klog/CONTRIBUTING.md

This file was deleted.

191 changes: 0 additions & 191 deletions cluster-autoscaler/vendor/k8s.io/klog/LICENSE

This file was deleted.

19 changes: 0 additions & 19 deletions cluster-autoscaler/vendor/k8s.io/klog/OWNERS

This file was deleted.

97 changes: 0 additions & 97 deletions cluster-autoscaler/vendor/k8s.io/klog/README.md

This file was deleted.

Loading

0 comments on commit 12d5585

Please sign in to comment.