lib/model: Return correct error in puller-iteration (ref #7424) (#7461)

This commit is contained in:
Simon Frei 2021-03-12 12:21:28 +01:00 committed by GitHub
parent 4d979a1ce9
commit 31f859e909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ func (f *sendReceiveFolder) pullerIteration(scanChan chan<- string) (int, error)
f.queue.Reset()
return changed, nil
return changed, err
}
func (f *sendReceiveFolder) processNeeded(snap *db.Snapshot, dbUpdateChan chan<- dbUpdateJob, copyChan chan<- copyBlocksState, scanChan chan<- string) (int, map[string]protocol.FileInfo, []protocol.FileInfo, error) {