Skip to content

Commit

Permalink
Cleanup build spans on build finish
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog committed Aug 30, 2023
1 parent bde4807 commit c7aed4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public void onFinalized(Run run) {
client.finishBuildTrace(buildData, run);
logger.fine("End DatadogBuildListener#onFinalized");

BuildSpanManager.get().get(buildData.getBuildTag(""));
BuildSpanManager.get().remove(buildData.getBuildTag(""));

} catch (Exception e) {
DatadogUtilities.severe(logger, e, "Failed to process build finalization");
Expand Down

0 comments on commit c7aed4b

Please sign in to comment.