mirror of
https://github.com/prometheus/prometheus.git
synced 2026-02-03 20:39:32 -05:00
fix:lint
Signed-off-by: ADITYA TIWARI <adityatiwari342005@gmail.com>
This commit is contained in:
parent
629e6c9d35
commit
147a28dff5
1 changed files with 1 additions and 1 deletions
|
|
@ -1193,7 +1193,7 @@ func (p *parser) getAtModifierVars(e Node) (**int64, *ItemType, *posrange.Pos, b
|
|||
|
||||
// hasModifiersBeforeRange checks if an expression has offset/@ modifiers that are
|
||||
// immediately adjacent to a bracket (no space), which should be rejected for subqueries.
|
||||
func (p *parser) hasModifiersBeforeRange(expr Expr, bracketPos posrange.Pos) (bool, string) {
|
||||
func (*parser) hasModifiersBeforeRange(expr Expr, bracketPos posrange.Pos) (bool, string) {
|
||||
var endPos posrange.Pos
|
||||
var hasOffset bool
|
||||
var hasAtModifier bool
|
||||
|
|
|
|||
Loading…
Reference in a new issue