Skip to content

Commit

Permalink
fix: ignore context in http request to segment (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte authored Oct 25, 2024
1 parent 9b2585f commit 51ab44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/telemetry/segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (s *SegmentClient) send(ctx context.Context, es EventState, et EventType, e
return fmt.Errorf("unable to create request body: %w", err)
}

req, err := http.NewRequestWithContext(ctx, http.MethodPost, url, bytes.NewBuffer(data))
req, err := http.NewRequest(http.MethodPost, url, bytes.NewBuffer(data))
if err != nil {
return fmt.Errorf("unable to create request: %w", err)
}
Expand Down

0 comments on commit 51ab44b

Please sign in to comment.