mirror of
https://github.com/restic/restic.git
synced 2026-11-23 23:12:52 +00:00
Add checks for Server.Load(), use Blob for load
This commit is contained in:
1 parent
5e69788eac
commit
f157f775da
16 files changed
+120
-131
No files matched your search
+1
-1
@@ -736,7 +736,7 @@ func (arch *Archiver) Snapshot(p *Progress, paths []string, pid backend.ID) (*Sn
|
||||
|
||||
// start walker on old tree
|
||||
ch := make(chan WalkTreeJob)
|
||||
go WalkTree(arch.s, parent.Tree.Storage, done, ch)
|
||||
go WalkTree(arch.s, parent.Tree, done, ch)
|
||||
jobs.Old = ch
|
||||
} else {
|
||||
// use closed channel
|
||||
|
||||
Reference in new issue
Block a user