Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney committed Jun 3, 2024
1 parent 7942e57 commit 1822b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/marshal/marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func logprotoSeriesToPromQLMatrix(series []logproto.Series) (promql.Matrix, erro
Floats: make([]promql.FPoint, len(s.Samples)),
}
for i, sample := range s.Samples {
t := model.TimeFromUnixNano(sample.Timestamp)
t := model.TimeFromUnixNano(sample.Timestamp)
promSeries.Floats[i] = promql.FPoint{T: int64(t), F: sample.Value}
}
promMatrix[i] = promSeries
Expand Down

0 comments on commit 1822b88

Please sign in to comment.