From 859e4c53b09ada6de5ce5c89956cf65f71b82ff6 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Fri, 5 Feb 2021 13:31:36 -0700 Subject: [PATCH] update klog to v2 --- go.mod | 1 - pkg/minikube/audit/audit.go | 2 +- pkg/trace/gcp.go | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index c66422a856b6..11c5d58397b1 100644 --- a/go.mod +++ b/go.mod @@ -95,7 +95,6 @@ require ( k8s.io/api v0.18.8 k8s.io/apimachinery v0.18.8 k8s.io/client-go v0.18.8 - k8s.io/klog v1.0.0 k8s.io/klog/v2 v2.4.0 k8s.io/kubectl v0.0.0 k8s.io/kubernetes v1.18.5 diff --git a/pkg/minikube/audit/audit.go b/pkg/minikube/audit/audit.go index 83b0ee98c2c7..8e53a9ddc5ff 100644 --- a/pkg/minikube/audit/audit.go +++ b/pkg/minikube/audit/audit.go @@ -23,7 +23,7 @@ import ( "time" "github.com/spf13/viper" - "k8s.io/klog" + "k8s.io/klog/v2" "k8s.io/minikube/pkg/minikube/config" ) diff --git a/pkg/trace/gcp.go b/pkg/trace/gcp.go index 212d198fb582..c87960ebd690 100644 --- a/pkg/trace/gcp.go +++ b/pkg/trace/gcp.go @@ -23,7 +23,7 @@ import ( "go.opentelemetry.io/otel/api/trace" sdktrace "go.opentelemetry.io/otel/sdk/trace" - "k8s.io/klog" + "k8s.io/klog/v2" texporter "github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace" "github.com/pkg/errors"