From 4686fb46c2f7c4050dd80e3d99124201e69b11a3 Mon Sep 17 00:00:00 2001 From: Hank Donnay Date: Mon, 25 Mar 2024 17:46:21 -0500 Subject: [PATCH] initialize: use defaults for NewRemoteFetcher Signed-off-by: Hank Donnay --- initialize/services.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/initialize/services.go b/initialize/services.go index bc4d5c98f8..29765b17f3 100644 --- a/initialize/services.go +++ b/initialize/services.go @@ -7,7 +7,6 @@ import ( "fmt" "net/http" "net/http/cookiejar" - "os" "time" "github.com/go-jose/go-jose/v3/jwt" @@ -183,7 +182,7 @@ func localIndexer(ctx context.Context, cfg *config.Config) (indexer.Service, err return nil, mkErr(err) } - opts.FetchArena = libindex.NewRemoteFetchArena(c, os.TempDir()) + opts.FetchArena = libindex.NewRemoteFetchArena(c, "") s, err := libindex.New(ctx, &opts, c) if err != nil {