replace glog with klog

pull/9503/head
Priya Wadhwa 2020-10-20 13:51:35 -07:00
parent a54ea82e3b
commit 51b9f689b1
2 changed files with 3 additions and 2 deletions

1
go.mod
View File

@ -86,6 +86,7 @@ require (
k8s.io/api v0.17.4
k8s.io/apimachinery v0.17.4
k8s.io/client-go v0.17.4
k8s.io/klog v1.0.0
k8s.io/klog/v2 v2.3.0
k8s.io/kubectl v0.0.0
k8s.io/kubernetes v1.18.5

View File

@ -26,8 +26,8 @@ import (
"time"
"github.com/VividCortex/godaemon"
"github.com/golang/glog"
"github.com/pkg/errors"
"k8s.io/klog"
"k8s.io/minikube/pkg/minikube/localpath"
)
@ -50,7 +50,7 @@ func killExistingScheduledStops(profiles []string) error {
if err != nil {
return errors.Wrap(err, "finding process")
}
glog.Infof("killing process %v as it is an old scheduled stop", pid)
klog.Infof("killing process %v as it is an old scheduled stop", pid)
if err := p.Kill(); err != nil {
return errors.Wrapf(err, "killing %v", pid)
}