Skip to content

Commit

Permalink
Make debugs logs suck less.
Browse files Browse the repository at this point in the history
Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <[email protected]> (github: jfrazelle)
jessfraz committed Jan 23, 2015

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 99bffdf commit c49cd3d
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion graph/pull.go
Original file line number Diff line number Diff line change
@@ -153,7 +153,6 @@ func (s *TagStore) pullRepository(r *registry.Session, out io.Writer, repoInfo *
for _, image := range repoData.ImgList {
downloadImage := func(img *registry.ImgData) {
if askedTag != "" && img.Tag != askedTag {
log.Debugf("(%s) does not match %s (id: %s), skipping", img.Tag, askedTag, img.ID)
if parallel {
errors <- nil
}
2 changes: 0 additions & 2 deletions image/image.go
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@ import (
"strconv"
"time"

log "github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/tarsum"
"github.com/docker/docker/runconfig"
@@ -274,7 +273,6 @@ func (img *Image) CheckDepth() error {
func NewImgJSON(src []byte) (*Image, error) {
ret := &Image{}

log.Debugf("Json string: {%s}", src)
// FIXME: Is there a cleaner way to "purify" the input json?
if err := json.Unmarshal(src, ret); err != nil {
return nil, err

0 comments on commit c49cd3d

Please sign in to comment.