Skip to content

Commit

Permalink
Update share/eds/store.go
Browse files Browse the repository at this point in the history
Co-authored-by: Hlib Kanunnikov <hlibwondertan@gmail.com>
  • Loading branch information
distractedm1nd and Wondertan authored Nov 23, 2022
1 parent 0befe6b commit 1df4905
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions share/eds/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,13 @@ func NewStore(basepath string, ds datastore.Batching) (*Store, error) {
return nil, fmt.Errorf("failed to create DAGStore: %w", err)
}

s := &Store{
rerturn &Store{
basepath: basepath,
dgstr: dagStore,
topIdx: invertedRepo,
carIdx: fsRepo,
mounts: r,
}

return s, nil
}, nil
}

// Start starts the underlying DAGStore.
Expand Down

0 comments on commit 1df4905

Please sign in to comment.