Skip to content

Commit aa22884

Browse files
authored
fix(search): fix duplicated variable init (#1703)
1 parent 316d4ca commit aa22884

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/search/build.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,6 @@ func Update(ctx context.Context, parent string, objs []model.Obj) {
225225
return
226226
}
227227

228-
// For other searchers (db, bleve), execute immediately with sync logic
229-
ctx := context.Background()
230-
231228
nodes, err := instance.Get(ctx, parent)
232229
if err != nil {
233230
log.Errorf("update search index error while get nodes: %+v", err)

0 commit comments

Comments
 (0)