Replace glog with klog

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-12-05 13:27:55 -03:00
parent f4a4daed84
commit 2fa55eabf6
33 changed files with 353 additions and 327 deletions

View file

@ -19,7 +19,7 @@ package file
import (
"crypto/sha1"
"encoding/hex"
"github.com/golang/glog"
"k8s.io/klog"
"io/ioutil"
)
@ -28,7 +28,7 @@ func SHA1(filename string) string {
hasher := sha1.New()
s, err := ioutil.ReadFile(filename)
if err != nil {
glog.Errorf("Error reading file %v", err)
klog.Errorf("Error reading file %v", err)
return ""
}