Skip to content

Commit 2c61259

Browse files
committed
fix var name
1 parent 59a66df commit 2c61259

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index/scorch/scorch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ func (s *Scorch) trainerLoop() {
688688
}
689689

690690
// update the centroid index pointer
691-
centroidIndex, err := s.segPlugin.OpenEx(filepath.Join(s.path, index.centroidIndexFileName), s.segmentConfig)
691+
centroidIndex, err := s.segPlugin.OpenEx(filepath.Join(s.path, index.CentroidIndexFileName), s.segmentConfig)
692692
if err != nil {
693693
trainReq.ackCh <- fmt.Errorf("error opening centroid index: %v", err)
694694
close(trainReq.ackCh)

0 commit comments

Comments
 (0)