patternMatcher: initialize the indirectVals map
This commit is contained in:
parent
10baa245b2
commit
4439040bc8
|
@ -32,6 +32,7 @@ func NewPatternPatcher() *PatternMatcher {
|
|||
patternMatcher := PatternMatcher{
|
||||
blockedPrefixes: critbitgo.NewTrie(),
|
||||
blockedSuffixes: critbitgo.NewTrie(),
|
||||
indirectVals: make(map[string]interface{}),
|
||||
}
|
||||
return &patternMatcher
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue