diff options
author | Michael Muré <batolettre@gmail.com> | 2022-12-22 23:19:31 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-12-23 01:41:03 +0100 |
commit | 95911100823b5c809225d664de74ad2d64e91972 (patch) | |
tree | c352848904d82b046646b4074f26b0ce5235fa40 /util/multierr/errwaitgroup.go | |
parent | d65e8837aa7bb1a6abb6892b9f2664e1b7edb02e (diff) | |
download | git-bug-95911100823b5c809225d664de74ad2d64e91972.tar.gz |
cache: fix some bugs after refactor
Diffstat (limited to 'util/multierr/errwaitgroup.go')
-rw-r--r-- | util/multierr/errwaitgroup.go | 2 |
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() } }() |