Skip to content

Commit

Permalink
Use directiveId instead of activityParents to compute directive id
Browse files Browse the repository at this point in the history
DirectiveId used to be computed from activityParents, but as of
recently it is computed separately. This commit uses it directly
  • Loading branch information
mattdailis committed Oct 3, 2024
1 parent f3a5058 commit 697fe9a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ public SimulationActivityExtract computeActivitySimulationResults(
.stream()
.map(spanToActivityInstanceId::get)
.toList(),
(activityParents.containsKey(span)) ? Optional.empty() : Optional.ofNullable(directiveId),
Optional.ofNullable(directiveId),
outputAttributes
));
} else {
Expand All @@ -843,7 +843,7 @@ public SimulationActivityExtract computeActivitySimulationResults(
.stream()
.map(spanToActivityInstanceId::get)
.toList(),
(activityParents.containsKey(span)) ? Optional.empty() : Optional.ofNullable(directiveId)
Optional.ofNullable(directiveId)
));
}
});
Expand Down

0 comments on commit 697fe9a

Please sign in to comment.