Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign committed Mar 16, 2022
1 parent 1d5b465 commit dd030f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,9 @@ func (s *Store) periodicalGC(discardOrphanDealsAfter time.Duration) {

// GC cleans up deal data files, if discardOrphanDealsAfter is not zero, it
// also removes bids staying at BidStatusAwaitingProposal for that longer.
func (s *Store) GC(ctx context.Context, discardOrphanDealsAfter time.Duration) (bidsRemoved, filesRemoved, filesEvaluated int) {
func (s *Store) GC(
ctx context.Context,
discardOrphanDealsAfter time.Duration) (bidsRemoved, filesRemoved, filesEvaluated int) {
bids, err := s.ListBids(Query{})
if err != nil {
log.Errorf("listing bids: %v", err)
Expand Down

0 comments on commit dd030f0

Please sign in to comment.