Skip to content

Commit

Permalink
Fix godoc
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Kartago Lamida <[email protected]>
  • Loading branch information
lamida committed Jan 27, 2025
1 parent b0f680a commit 5455467
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/streamingpromql/operators/absent.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/grafana/mimir/pkg/streamingpromql/types"
)

// AbsentOperator is an operator that implements the vector() function.
// AbsentOperator is an operator that implements the absent() function.
type AbsentOperator struct {
timeRange types.QueryTimeRange
innerExpr parser.Expr
Expand All @@ -30,6 +30,7 @@ type AbsentOperator struct {

var _ types.InstantVectorOperator = &AbsentOperator{}

// NewAbsent creates a new AbsentOperator.
func NewAbsent(inner types.InstantVectorOperator, innerExpr parser.Expr, timeRange types.QueryTimeRange, expressionPosition posrange.PositionRange, memoryConsumptionTracker *limiting.MemoryConsumptionTracker) *AbsentOperator {
return &AbsentOperator{
timeRange: timeRange,
Expand Down

0 comments on commit 5455467

Please sign in to comment.