From 26a9fac7cea3dc805857fc41609cf5002678792e Mon Sep 17 00:00:00 2001 From: Matt Kelly Date: Tue, 12 Nov 2024 17:05:38 +0800 Subject: [PATCH] Fix lint issue --- core/services/llo/telemetry_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/services/llo/telemetry_test.go b/core/services/llo/telemetry_test.go index 6987997cb3f..ec650bedb83 100644 --- a/core/services/llo/telemetry_test.go +++ b/core/services/llo/telemetry_test.go @@ -112,11 +112,11 @@ func Test_Telemeter(t *testing.T) { run := &pipeline.Run{ID: 42} streamID := uint32(135) - donId := uint32(1) + donID := uint32(1) opts := &mockOpts{} t.Run("with error", func(t *testing.T) { - tm := newTelemeter(lggr, m, donId) + tm := newTelemeter(lggr, m, donID) servicetest.Run(t, tm) t.Run("if error is some random failure returns immediately", func(t *testing.T) { @@ -143,7 +143,7 @@ func Test_Telemeter(t *testing.T) { }) }) t.Run("with decimal value, sets all values correctly", func(t *testing.T) { - tm := newTelemeter(lggr, m, donId) + tm := newTelemeter(lggr, m, donID) val := llo.ToDecimal(decimal.NewFromFloat32(102.12)) servicetest.Run(t, tm) tm.EnqueueV3PremiumLegacy(run, trrs, streamID, opts, val, nil) @@ -193,7 +193,7 @@ func Test_Telemeter(t *testing.T) { } }) t.Run("with quote value", func(t *testing.T) { - tm := newTelemeter(lggr, m, donId) + tm := newTelemeter(lggr, m, donID) val := &llo.Quote{Bid: decimal.NewFromFloat32(102.12), Benchmark: decimal.NewFromFloat32(103.32), Ask: decimal.NewFromFloat32(104.25)} servicetest.Run(t, tm) tm.EnqueueV3PremiumLegacy(run, trrs, streamID, opts, val, nil)