Merge pull request #7960 from vbatts/vbatts-tarsum_debugf_not_infof
tarsum: use Debugf, not Infof Upstream-commit: b5a4c70455019abe016d7880e0c01f1d1d7811ee Component: engine
This commit is contained in:
@ -177,11 +177,11 @@ func (ts *TarSum) Sum(extra []byte) string {
|
||||
h.Write(extra)
|
||||
}
|
||||
for _, sum := range sums {
|
||||
log.Infof("-->%s<--", sum)
|
||||
log.Debugf("-->%s<--", sum)
|
||||
h.Write([]byte(sum))
|
||||
}
|
||||
checksum := "tarsum+sha256:" + hex.EncodeToString(h.Sum(nil))
|
||||
log.Infof("checksum processed: %s", checksum)
|
||||
log.Debugf("checksum processed: %s", checksum)
|
||||
return checksum
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user