Skip to content

Commit

Permalink
Updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexqyle committed Apr 17, 2023
1 parent c70dfc4 commit ed65820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/storepb/prompb/samples.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func SamplesFromPromqlSamples(samples ...promql.Sample) ([]Sample, []Histogram)
return floats, histograms
}

// SamplesFromPromqlSeries converts promql.Series to a slice of Sample.
// SamplesFromPromqlSeries converts promql.Series to a slice of Sample and a slice of Histogram.
func SamplesFromPromqlSeries(series promql.Series) ([]Sample, []Histogram) {
floats := make([]Sample, 0, len(series.Floats))
for _, f := range series.Floats {
Expand Down

0 comments on commit ed65820

Please sign in to comment.