Skip to content

Commit

Permalink
initialize: use defaults for NewRemoteFetcher
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay authored and crozzy committed Apr 29, 2024
1 parent 3753415 commit 9828576
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions initialize/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"fmt"
"net/http"
"net/http/cookiejar"
"os"
"time"

"github.com/jackc/pgx/v4/pgxpool"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 9828576

Please sign in to comment.