mirror of
https://github.com/octoleo/restic.git
synced 2024-11-05 04:47:51 +00:00
1140950d7b
When the scanner is slower than the actual backup, the tomb cancels the context passed to Scan(), which then returns ctx.Err(). In the end, the main function prints an error message that is not helpful ("Context cancelled") and exits with an error code although no error occurred. The code now ignores the error in the context and just uses it for cancellation. The scanner is not supposed to return an error anyway. Closes #1978 |
||
---|---|---|
.. | ||
archiver_test.go | ||
archiver.go | ||
blob_saver_test.go | ||
blob_saver.go | ||
buffer.go | ||
doc.go | ||
file_saver_test.go | ||
file_saver.go | ||
index_uploader.go | ||
scanner_test.go | ||
scanner.go | ||
testing_test.go | ||
testing.go | ||
tree_saver_test.go | ||
tree_saver.go | ||
tree_test.go | ||
tree.go |