diff --git a/pkg/agent/core/ngt/service/ngt.go b/pkg/agent/core/ngt/service/ngt.go index faa178affa..dfcc4579cb 100644 --- a/pkg/agent/core/ngt/service/ngt.go +++ b/pkg/agent/core/ngt/service/ngt.go @@ -340,7 +340,7 @@ func (n *ngt) Start(ctx context.Context) <-chan error { select { case <-ctx.Done(): err = n.CreateIndex(ctx, n.poolSize) - if err != nil && !errors.Is(err, errors.ErrUncommittedIndexNotFound){ + if err != nil && !errors.Is(err, errors.ErrUncommittedIndexNotFound) { ech <- err return errors.Wrap(ctx.Err(), err.Error()) }