Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed Feb 5, 2020
1 parent 23fbd3a commit 92e3b4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/skaffold/docker/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/docker/docker/errdefs"
"io"
"sort"
"strings"
Expand All @@ -30,6 +29,7 @@ import (
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/mount"
"github.com/docker/docker/client"
"github.com/docker/docker/errdefs"
"github.com/docker/docker/pkg/jsonmessage"
"github.com/docker/docker/pkg/progress"
"github.com/docker/docker/pkg/streamformatter"
Expand All @@ -42,7 +42,7 @@ import (
)

const (
retrials = 5
retrials = 5
sleepTime = 1 * time.Second
)

Expand Down Expand Up @@ -217,7 +217,6 @@ func (l *localDaemon) Build(ctx context.Context, out io.Writer, workspace string
if imageID == "" {
// Maybe this version of Docker doesn't return the digest of the image
// that has been built.
logrus.Debugf("This version of docker does not return the digest.")
imageID, err = l.ImageID(ctx, ref)
if err != nil {
return "", errors.Wrap(err, "getting digest")
Expand Down

0 comments on commit 92e3b4a

Please sign in to comment.