tarsum: use Debugf, not Infof

Signed-off-by: Vincent Batts <vbatts@redhat.com>
This commit is contained in:
Vincent Batts 2014-09-09 13:31:11 -04:00
parent 884c3c7461
commit 910b15be64

View file

@ -177,11 +177,11 @@ func (ts *TarSum) Sum(extra []byte) string {
h.Write(extra) h.Write(extra)
} }
for _, sum := range sums { for _, sum := range sums {
log.Infof("-->%s<--", sum) log.Debugf("-->%s<--", sum)
h.Write([]byte(sum)) h.Write([]byte(sum))
} }
checksum := "tarsum+sha256:" + hex.EncodeToString(h.Sum(nil)) checksum := "tarsum+sha256:" + hex.EncodeToString(h.Sum(nil))
log.Infof("checksum processed: %s", checksum) log.Debugf("checksum processed: %s", checksum)
return checksum return checksum
} }