mirror of
https://github.com/restic/restic.git
synced 2026-11-17 22:55:04 +00:00
tweak debug logs
This commit is contained in:
1 parent
22562d2132
commit
cdb0fb9c06
3 files changed
+4
-3
No files matched your search
@@ -41,7 +41,7 @@ func ParallelList(ctx context.Context, r Lister, t FileType, parallelism uint, f
|
||||
// a worker receives an index ID from ch, loads the index, and sends it to indexCh
|
||||
worker := func() error {
|
||||
for fi := range ch {
|
||||
debug.Log("worker got file %v", fi.ID.Str())
|
||||
debug.Log("worker got file %v/%v", t, fi.ID.Str())
|
||||
err := fn(ctx, fi.ID, fi.Size)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user