aboutsummaryrefslogtreecommitdiffstats
path: root/util/multierr/errwaitgroup.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-12-22 23:19:31 +0100
committerMichael Muré <batolettre@gmail.com>2022-12-23 01:41:03 +0100
commit95911100823b5c809225d664de74ad2d64e91972 (patch)
treec352848904d82b046646b4074f26b0ce5235fa40 /util/multierr/errwaitgroup.go
parentd65e8837aa7bb1a6abb6892b9f2664e1b7edb02e (diff)
downloadgit-bug-95911100823b5c809225d664de74ad2d64e91972.tar.gz
cache: fix some bugs after refactor
Diffstat (limited to 'util/multierr/errwaitgroup.go')
-rw-r--r--util/multierr/errwaitgroup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/multierr/errwaitgroup.go b/util/multierr/errwaitgroup.go
index 1c785b30..7279ed1f 100644
--- a/util/multierr/errwaitgroup.go
+++ b/util/multierr/errwaitgroup.go
@@ -63,7 +63,7 @@ func (g *ErrWaitGroup) Go(f func() error) {
if err := f(); err != nil {
g.mu.Lock()
- err = Join(g.err, err)
+ g.err = Join(g.err, err)
g.mu.Unlock()
}
}()