Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Vargas <[email protected]>
  • Loading branch information
rubenvp8510 committed May 29, 2024
1 parent c8efff1 commit 0a67f04
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apis/v1beta1/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,7 @@ func TestOTELCollectorInitMetrics(t *testing.T) {
cl := fake.NewClientBuilder().WithLists(list).WithScheme(scheme).Build()
reader := sdkmetric.NewManualReader()
provider := sdkmetric.NewMeterProvider(sdkmetric.WithReader(reader))
NewMetrics(provider, context.Background(), cl)
assert.NoError(t, err)

_, err = NewMetrics(provider, context.Background(), cl)
assert.NoError(t, err)

rm := metricdata.ResourceMetrics{}
Expand Down

0 comments on commit 0a67f04

Please sign in to comment.