From 95911100823b5c809225d664de74ad2d64e91972 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Thu, 22 Dec 2022 23:19:31 +0100 Subject: cache: fix some bugs after refactor --- util/multierr/errwaitgroup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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() } }() -- cgit