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 <[email protected]>
  • Loading branch information
hdonnay committed Apr 9, 2024
1 parent c3db2e4 commit 4686fb4
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/go-jose/go-jose/v3/jwt"
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 4686fb4

Please sign in to comment.