Skip to content

Commit e52bdb7

Browse files
committed
Fixed lint
1 parent 38abd8f commit e52bdb7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

posting/index.go

-3
Original file line numberDiff line numberDiff line change
@@ -1260,8 +1260,6 @@ func (rb *indexRebuildInfo) prefixesForTokIndexes() ([][]byte, error) {
12601260
return prefixes, nil
12611261
}
12621262

1263-
var k int
1264-
12651263
// rebuildTokIndex rebuilds index for a given attribute.
12661264
// We commit mutations with startTs and ignore the errors.
12671265
func rebuildTokIndex(ctx context.Context, rb *IndexRebuild) error {
@@ -1282,7 +1280,6 @@ func rebuildTokIndex(ctx context.Context, rb *IndexRebuild) error {
12821280
return err
12831281
}
12841282

1285-
k = 0
12861283
var factorySpecs []*tok.FactoryCreateSpec
12871284
if len(rebuildInfo.vectorIndexesToRebuild) > 0 {
12881285
factorySpec, err := tok.GetFactoryCreateSpecFromSpec(

0 commit comments

Comments
 (0)