diff --git a/cmd/notification.go b/cmd/notification.go index 4585c2806..19c2bc0a9 100644 --- a/cmd/notification.go +++ b/cmd/notification.go @@ -460,6 +460,7 @@ func (sys *NotificationSys) GetLocks(ctx context.Context, r *http.Request) []*Pe g := errgroup.WithNErrs(len(sys.peerClients)) for index, client := range sys.peerClients { index := index + client := client g.Go(func() error { if client == nil { return errPeerNotReachable