From ca224ebeae859e1305b90ca1edf2046024a577b2 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Thu, 19 Jul 2018 13:13:12 -0400 Subject: [PATCH] remove redundant WithTransport --- pkg/executor/executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/executor/executor.go b/pkg/executor/executor.go index 6e01510ea7..4eb3a04c6a 100644 --- a/pkg/executor/executor.go +++ b/pkg/executor/executor.go @@ -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 }