pkg/tarsum: delete the logging code
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
This commit is contained in:
parent
c57c03f841
commit
b8e50e81c1
1 changed files with 0 additions and 4 deletions
|
@ -10,8 +10,6 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
|
"github.com/docker/docker/vendor/src/code.google.com/p/go/src/pkg/archive/tar"
|
||||||
|
|
||||||
log "github.com/Sirupsen/logrus"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -228,11 +226,9 @@ func (ts *tarSum) Sum(extra []byte) string {
|
||||||
h.Write(extra)
|
h.Write(extra)
|
||||||
}
|
}
|
||||||
for _, fis := range ts.sums {
|
for _, fis := range ts.sums {
|
||||||
log.Debugf("-->%s<--", fis.Sum())
|
|
||||||
h.Write([]byte(fis.Sum()))
|
h.Write([]byte(fis.Sum()))
|
||||||
}
|
}
|
||||||
checksum := ts.Version().String() + "+" + ts.tHash.Name() + ":" + hex.EncodeToString(h.Sum(nil))
|
checksum := ts.Version().String() + "+" + ts.tHash.Name() + ":" + hex.EncodeToString(h.Sum(nil))
|
||||||
log.Debugf("checksum processed: %s", checksum)
|
|
||||||
return checksum
|
return checksum
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue