chore: remove unused field
This commit is contained in:
parent
858d9de250
commit
3a4b5fb145
@ -108,7 +108,7 @@ func (ss *DomainSet) Has(key string) bool {
|
||||
// go to next level
|
||||
nodeId, bmIdx := 0, 0
|
||||
type wildcardCursor struct {
|
||||
nodeId, bmIdx, index int
|
||||
bmIdx, index int
|
||||
find bool
|
||||
}
|
||||
cursor := wildcardCursor{}
|
||||
@ -145,7 +145,6 @@ func (ss *DomainSet) Has(key string) bool {
|
||||
} else if ss.labels[bmIdx-nodeId] == wildcardByte {
|
||||
cursor.find = true
|
||||
cursor.bmIdx = bmIdx
|
||||
cursor.nodeId = nodeId
|
||||
cursor.index = i
|
||||
} else if ss.labels[bmIdx-nodeId] == c {
|
||||
cursor.find = false
|
||||
|
Reference in New Issue
Block a user