mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
tarsum: use Debugf, not Infof
Signed-off-by: Vincent Batts <vbatts@redhat.com>
This commit is contained in:
parent
1ed467a9ae
commit
6a8cae3e03
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue