Replace glog with klog
This commit is contained in:
parent
f4a4daed84
commit
2fa55eabf6
33 changed files with 353 additions and 327 deletions
|
|
@ -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 ""
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue