Skip to content

Commit

Permalink
Fix log spamming for builds that do not have upstream parent (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog committed May 6, 2024
1 parent 8e2cb29 commit 19adb4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void onInitialize(Run run) {
BuildSpanManager.get().put(buildData.getBuildTag(""), buildSpanContext);

TraceSpan.TraceSpanContext upstreamBuildSpanContext = null;
String upstreamBuildTag = buildData.getUpstreamBuildTag("");
String upstreamBuildTag = buildData.getUpstreamBuildTag(null);
if (upstreamBuildTag != null) {
// try to find upstream build context saved earlier
upstreamBuildSpanContext = BuildSpanManager.get().get(upstreamBuildTag);
Expand Down

0 comments on commit 19adb4d

Please sign in to comment.