replace glog with klog
parent
a54ea82e3b
commit
51b9f689b1
1
go.mod
1
go.mod
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue