Skip to content

Commit

Permalink
remove redundant WithTransport
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Jul 19, 2018
1 parent 3ca26d6 commit ca224eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func DoBuild(k KanikoBuildArgs) (name.Reference, v1.Image, error) {
return nil, nil, err
}
kc := authn.NewMultiKeychain(authn.DefaultKeychain, k8sc)
sourceImage, err = remote.Image(ref, remote.WithAuthFromKeychain(kc), remote.WithTransport(http.DefaultTransport))
sourceImage, err = remote.Image(ref, remote.WithAuthFromKeychain(kc))
if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit ca224eb

Please sign in to comment.