We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20434fc commit 69011edCopy full SHA for 69011ed
internal/state/state.go
@@ -336,6 +336,12 @@ func (s *State) lookupRecords(
336
defer it.Close()
337
for it.Seek(keyPrefix); it.ValidForPrefix(keyPrefix); it.Next() {
338
item := it.Item()
339
+ // Skip keys that don't have a purely numeric suffix
340
+ // This means that they don't belong to the domain we are looking for
341
+ keySuffix := item.Key()[len(keyPrefix):]
342
+ if _, err := strconv.Atoi(string(keySuffix)); err != nil {
343
+ continue
344
+ }
345
val, err := item.ValueCopy(nil)
346
if err != nil {
347
return err
0 commit comments