Browse Source

Add nolint for NewParser function

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
pull/12170/head
Filip Petkovski 2 years ago
parent
commit
3d7783e663
No known key found for this signature in database
GPG Key ID: 431B0F2E85E42402
  1. 1
      promql/parser/parse.go

1
promql/parser/parse.go

@ -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…
Cancel
Save