Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetFileDeals should return deals for each file range #423

Merged
merged 3 commits into from
Nov 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix unit test
  • Loading branch information
xinaxu committed Nov 17, 2023
commit bd92f63d74b2c12a45046f09d9e20cff1dd6441d
5 changes: 4 additions & 1 deletion storagesystem/rclone.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ type readerWithRetry struct {
}

func (r *readerWithRetry) Close() error {
return r.reader.Close()
if r.reader != nil {
return r.reader.Close()
}
return nil
}

func (r *readerWithRetry) Read(p []byte) (int, error) {
Expand Down
Loading