Skip to content

Commit

Permalink
调整链路实现
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Nov 30, 2024
1 parent 491c10c commit 4e23751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invokeJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func invokeJob(clientVO ClientVO, task taskDTO) {

// 链路追踪
entryFSchedule := jobContext.traceManager.EntryFSchedule(jobContext.Name, jobContext.Id, jobContext.Data.ToMap())
defer entryFSchedule.End(nil)
defer container.Resolve[trace.IManager]().Push(entryFSchedule, nil)

Check failure on line 71 in invokeJob.go

View workflow job for this annotation

GitHub Actions / build

container.Resolve[trace.IManager]().Push undefined (type "github.com/farseer-go/fs/trace".IManager has no field or method Push)

// 执行任务并拿到结果
exception.Try(func() {
Expand Down

0 comments on commit 4e23751

Please sign in to comment.