Skip to content

Commit

Permalink
condition/task: Include Span, Trace identifiers from condition
Browse files Browse the repository at this point in the history
This enables controllers to link to the same span, trace identifiers
  • Loading branch information
joelrebel committed Sep 6, 2024
1 parent 4ab54d5 commit 8f6e267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions condition/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,7 @@ func NewTaskFromCondition(cond *Condition) *Task[any, any] {
Data: json.RawMessage(`{"empty": true}`), // placeholder value
Fault: cond.Fault,
Status: *sr,
TraceID: cond.TraceID,
SpanID: cond.SpanID,
}
}

0 comments on commit 8f6e267

Please sign in to comment.