Skip to content

Commit

Permalink
Fix cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tiationg-kho committed Nov 28, 2024
1 parent 515db75 commit 7902c63
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/observability/opentelemetry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,6 @@ func getMetrics(t *testing.T) *Metrics {
t.Errorf("failed to shutdown provider: %v", err)
}
}
if exporter != nil {
if err := exporter.Shutdown(context.Background()); err != nil {
t.Errorf("failed to shutdown exporter: %v", err)
}
}
})

return &metrics
Expand Down

0 comments on commit 7902c63

Please sign in to comment.