We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1694772 commit cc739edCopy full SHA for cc739ed
main.go
@@ -48,12 +48,12 @@ func getSteps(ctx context.Context, conf actionConfig) error {
48
}
49
50
for _, job := range jobs.Jobs {
51
- ctx, jobSpan := tracer.Start(ctx, *job.Name, trace.WithTimestamp(job.StartedAt.Time))
+ ctx, jobSpan := tracer.Start(ctx, *job.Name, trace.WithTimestamp(job.GetStartedAt().Time))
52
if err != nil {
53
return err
54
55
for _, step := range job.Steps {
56
- _, stepSpan := tracer.Start(ctx, *step.Name, trace.WithTimestamp(step.StartedAt.Time))
+ _, stepSpan := tracer.Start(ctx, *step.Name, trace.WithTimestamp(step.GetStartedAt().Time))
57
if step.CompletedAt != nil {
58
stepSpan.End(trace.WithTimestamp(step.CompletedAt.Time))
59
} else {
0 commit comments