Skip to content

Commit

Permalink
fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil-goel committed Aug 8, 2024
1 parent 1392aa1 commit ff38784
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions posting/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -1393,15 +1393,6 @@ func (l *List) GetLangTags(readTs uint64) ([]string, error) {
hex.EncodeToString(l.key))
}

func (l *List) getPosting(startTs uint64) *pb.PostingList {
l.RLock()
defer l.RUnlock()
if pl, ok := l.mutationMap[startTs]; ok {
return pl
}
return nil
}

func (l *List) StaticValue(readTs uint64) (*pb.PostingList, error) {
l.RLock()
defer l.RUnlock()
Expand Down

0 comments on commit ff38784

Please sign in to comment.