From 9828576af20c966e0dbe99bbac68d3e80b07baa1 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 b83a02a940..659a11a71b 100644 --- a/initialize/services.go +++ b/initialize/services.go @@ -7,7 +7,6 @@ import ( "fmt" "net/http" "net/http/cookiejar" - "os" "time" "github.com/jackc/pgx/v4/pgxpool" @@ -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 {