Skip to content

Commit

Permalink
fix: remove extra error for indexer on gitness (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav-harness authored and Harness committed Apr 23, 2024
1 parent 793cc86 commit 28ba149
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/services/keywordsearch/local_index_searcher.go
Expand Up @@ -16,7 +16,6 @@ package keywordsearch

import (
"context"
"fmt"

"github.com/harness/gitness/types"
)
Expand All @@ -35,9 +34,9 @@ func (s *LocalIndexSearcher) Search(
_ bool,
_ int,
) (types.SearchResult, error) {
return types.SearchResult{}, fmt.Errorf("not implemented")
return types.SearchResult{}, nil
}

func (s *LocalIndexSearcher) Index(_ context.Context, _ *types.Repository) error {
return fmt.Errorf("not implemented")
return nil
}

0 comments on commit 28ba149

Please sign in to comment.