fix: remove redundant configuration call in Add function to config parsers correctly
This commit is contained in:
@@ -30,7 +30,6 @@ var (
|
||||
)
|
||||
|
||||
func Add(p ...parser.Parser) {
|
||||
configOnce.Do(configParsers)
|
||||
mu.Lock()
|
||||
defer mu.Unlock()
|
||||
parsers = append(parsers, p...)
|
||||
|
||||
Reference in New Issue
Block a user