Value assigned to a variable is never read before being overwritten SCC-SA4006
Bug risk
Critical
1 occurrence in this check
this value of err is never used
1723			return nil, err
1724		case updated.Load()+aeCount.Load() < uint64(s.replica):
1725			shortage := s.replica - int(updated.Load()+aeCount.Load())
1726			err = s.gateway.DoMulti(ctx, shortage, func(ctx context.Context, target string, vc vald.Client, copts ...grpc.CallOption) (err error) {1727				mu.RLock()
1728				tf, ok := visited[target]
1729				mu.RUnlock()