1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-03 16:34:33 +00:00

Clean go unused log (#579)

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2022-10-14 12:10:53 +08:00
committed by GitHub
parent 04350f2b99
commit 620438fbb5
4 changed files with 18 additions and 18 deletions

View File

@@ -154,7 +154,7 @@ func diffDirectories(baseDir string, dents []*fsmgr.SeafDirent, opt *DiffOptions
recurse := true
err := opt.DirCB(opt.Ctx, baseDir, dirs, opt.Data, &recurse)
if err != nil {
err := fmt.Errorf("failed to call dir callback: %v", err)
err := fmt.Errorf("failed to call dir callback: %w", err)
return err
}