Skip to content

Commit

Permalink
Update pkg/translator/prometheusremotewrite/testutils_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Bradley <[email protected]>
  • Loading branch information
perebaj and evan-bradley authored Dec 6, 2024
1 parent beaaa66 commit 7395a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/translator/prometheusremotewrite/testutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func getHistogramDataPointWithExemplars[V int64 | float64](t *testing.T, time ti
h := pmetric.NewHistogramDataPoint()

e := h.Exemplars().AppendEmpty()
switch v := (interface{})(value).(type) {
switch v := (any)(value).(type) {
case int64:
e.SetIntValue(v)
case float64:
Expand Down

0 comments on commit 7395a3a

Please sign in to comment.