Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: yxxhero <[email protected]>
  • Loading branch information
yxxhero committed Apr 16, 2022
1 parent 1f7fcda commit e9d5b63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manager/job/preheat.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ import (
"time"

machineryv1tasks "github.com/RichardKnop/machinery/v1/tasks"
"github.com/distribution/distribution/v3"
"github.com/distribution/distribution/v3/manifest/schema2"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/trace"

Expand All @@ -40,6 +38,8 @@ import (
"d7y.io/dragonfly/v2/pkg/util/net/httputils"
"github.com/containerd/containerd/remotes"
"github.com/containerd/containerd/remotes/docker"
"github.com/distribution/distribution/v3"
"github.com/distribution/distribution/v3/manifest/schema2"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)

Expand Down Expand Up @@ -212,7 +212,7 @@ func (p *preheat) getResolver(ctx context.Context, username, password string) re
client := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
InsecureSkipVerify: true, // nolint: gosec
},
},
}
Expand Down

0 comments on commit e9d5b63

Please sign in to comment.