Skip to content

Commit

Permalink
Default indexer to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Dec 8, 2023
1 parent 1f99346 commit 48e87a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion ipni-gc/cmd/ipnigc/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ var providerFlags = []cli.Flag{
Usage: "Indexer URL. Specifies one or more URL to get provider info from",
Aliases: []string{"i"},
DefaultText: "http://localhost:3000",
Required: true,
},
&cli.StringSliceFlag{
Name: "pid",
Expand Down
1 change: 1 addition & 0 deletions ipni-gc/reaper/reaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ func unarchiveDatastore(ctx context.Context, publisherID peer.ID, fileStore file
fileInfo, rc, err := fileStore.Get(ctx, tarName)
if err != nil {
if errors.Is(err, fs.ErrNotExist) {
log.Debug("Datastore archive not found, will create new datastore")
return nil
}
return fmt.Errorf("cannot retrieve datastore archive from filestore: %w", err)
Expand Down

0 comments on commit 48e87a9

Please sign in to comment.