Skip to content

Commit 7902c63

Browse files
committed
Fix cleanup
1 parent 515db75 commit 7902c63

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/observability/opentelemetry_test.go

-5
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,6 @@ func getMetrics(t *testing.T) *Metrics {
181181
t.Errorf("failed to shutdown provider: %v", err)
182182
}
183183
}
184-
if exporter != nil {
185-
if err := exporter.Shutdown(context.Background()); err != nil {
186-
t.Errorf("failed to shutdown exporter: %v", err)
187-
}
188-
}
189184
})
190185

191186
return &metrics

0 commit comments

Comments
 (0)