Skip to content

Commit 9b61b53

Browse files
authored
Fix the build broken due to auto-rebase (#696)
1 parent 4d56b5d commit 9b61b53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

translator/metrics/oc_to_otlp_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ func TestOCToOTLP(t *testing.T) {
103103
},
104104
Timeseries: []*ocmetrics.TimeSeries{
105105
{
106-
StartTimestamp: unixnanoToTimestamp(unixnanos1),
106+
StartTimestamp: internal.UnixNanoToTimestamp(unixnanos1),
107107
Points: []*ocmetrics.Point{
108108
{
109-
Timestamp: unixnanoToTimestamp(unixnanos2),
109+
Timestamp: internal.UnixNanoToTimestamp(unixnanos2),
110110
Value: &ocmetrics.Point_Int64Value{
111111
Int64Value: 123,
112112
},
@@ -308,8 +308,8 @@ func TestOCToOTLP(t *testing.T) {
308308
},
309309
Int64DataPoints: []*otlpmetrics.Int64DataPoint{
310310
{
311-
StartTimeUnixNano: unixnanos1,
312-
TimeUnixNano: unixnanos2,
311+
StartTimeUnixNano: uint64(unixnanos1),
312+
TimeUnixNano: uint64(unixnanos2),
313313
Value: 123,
314314
},
315315
},

0 commit comments

Comments
 (0)