Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 085a1a0

Browse files
committed
fix bug in FindTagValues()
1 parent bad092e commit 085a1a0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

idx/memory/memory.go

-3
Original file line numberDiff line numberDiff line change
@@ -1106,9 +1106,6 @@ func (m *UnpartitionedMemoryIdx) FindTagValues(orgId uint32, tag, prefix string,
11061106
defer m.RUnlock()
11071107

11081108
values := m.tags[orgId][tag]
1109-
if len(values) == 0 {
1110-
return nil
1111-
}
11121109

11131110
res := make([]string, 0, len(values))
11141111
for value := range values {

0 commit comments

Comments
 (0)