Skip to content

Commit

Permalink
Remove TODOs that implemented with #169
Browse files Browse the repository at this point in the history
  • Loading branch information
jkawamoto committed Apr 19, 2021
1 parent 9c9f022 commit d956dd5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions renter/renterutil/strategies.go
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,6 @@ func (ssd SerialSectorDeleter) DeleteSectors(ctx context.Context, db MetaDB, sec
if err != nil {
return err
}
// TODO: no-op if roots already deleted
// TODO: respect ctx
err = h.DeleteSectors(roots)
ssd.Hosts.release(hostKey)
Expand All @@ -1330,7 +1329,6 @@ func (psd ParallelSectorDeleter) DeleteSectors(ctx context.Context, db MetaDB, s
if err != nil {
return &HostError{hostKey, err}
}
// TODO: no-op if roots already deleted
// TODO: respect ctx
err = h.DeleteSectors(roots)
psd.Hosts.release(hostKey)
Expand Down

0 comments on commit d956dd5

Please sign in to comment.