mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-13 06:47:28 -08:00
Add nolint for NewParser function
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
This commit is contained in:
parent
97c7fffbb8
commit
3d7783e663
|
@ -70,6 +70,7 @@ func WithFunctions(functions map[string]*Function) Opt {
|
|||
}
|
||||
|
||||
// NewParser returns a new parser.
|
||||
// nolint:revive
|
||||
func NewParser(input string, opts ...Opt) *parser {
|
||||
p := parserPool.Get().(*parser)
|
||||
|
||||
|
|
Loading…
Reference in a new issue