From 2562ffbccf55a3ac91bca13c11bba092b12f69b5 Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Thu, 13 Jul 2023 16:22:13 +0800 Subject: [PATCH] chore: remove unuse untar option Signed-off-by: Abirdcfly --- pkg/getter/getter.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/getter/getter.go b/pkg/getter/getter.go index 653b032fe..a088d9c13 100644 --- a/pkg/getter/getter.go +++ b/pkg/getter/getter.go @@ -35,7 +35,6 @@ type options struct { certFile string keyFile string caFile string - unTar bool insecureSkipVerifyTLS bool username string password string @@ -115,12 +114,6 @@ func WithRegistryClient(client *registry.Client) Option { } } -func WithUntar() Option { - return func(opts *options) { - opts.unTar = true - } -} - // WithTransport sets the http.Transport to allow overwriting the HTTPGetter default. func WithTransport(transport *http.Transport) Option { return func(opts *options) {