1. change glog to klog

2. move types to api package to avoid cyclic import
This commit is contained in:
Jeff
2019-09-16 12:46:53 +08:00
committed by zryfish
parent 79735c4543
commit 97c9a1786a
109 changed files with 1076 additions and 552 deletions

View File

@@ -3,8 +3,8 @@ package hashutil
import (
"code.cloudfoundry.org/bytefmt"
"encoding/hex"
"github.com/golang/glog"
"io"
"k8s.io/klog"
"kubesphere.io/kubesphere/pkg/utils/readerutils"
)
@@ -18,7 +18,7 @@ func GetMD5(reader io.ReadCloser) (string, error) {
if err == io.EOF {
break
}
glog.Error(err)
klog.Error(err)
return "", err
}
}