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 ca8731a commit aaf2152Copy full SHA for aaf2152
notify/notify.go
@@ -105,7 +105,7 @@ func (t *Template) Send() error {
105
notifier := notifierPool.Get().(*gorequest.SuperAgent)
106
defer notifierPool.Put(notifier)
107
108
- if t.ctx == nil {
+ if t.ctx != nil {
109
// Add tracing information to the request header.
110
propagator := otel.GetTextMapPropagator()
111
propagator.Inject(t.ctx, propagation.HeaderCarrier(notifier.Header))
0 commit comments