Skip to content

Commit

Permalink
MQE: Fix docstring location (#10373)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhesketh authored Jan 8, 2025
1 parent 93887cd commit 455f104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/streamingpromql/operators/functions/native_histograms.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ func HistogramFraction(seriesData types.InstantVectorSeriesData, scalarArgsData
return data, nil
}

// HistogramStdDevStdVar returns either the standard deviation, or standard variance of a native histogram.
// Float values are ignored.
func HistogramStdDevStdVar(isStdDev bool) InstantVectorSeriesFunction {
// returns either the standard deviation, or standard variance of a native histogram.
// Float values are ignored.
return func(seriesData types.InstantVectorSeriesData, _ []types.ScalarData, _ types.QueryTimeRange, memoryConsumptionTracker *limiting.MemoryConsumptionTracker) (types.InstantVectorSeriesData, error) {
fPoints, err := types.FPointSlicePool.Get(len(seriesData.Histograms), memoryConsumptionTracker)
if err != nil {
Expand Down

0 comments on commit 455f104

Please sign in to comment.