opsgenie / opsgenie-go-sdk-v2

Opsgenie GO SDK v2
Apache License 2.0
33 stars 63 forks source link

Context is not actually passed to http request #126

Open ajduffield opened 1 year ago

ajduffield commented 1 year ago

In the client exec function line 465: https://github.com/opsgenie/opsgenie-go-sdk-v2/blob/master/client/client.go#L465 the req.WithContext returns a new Request object with the context, instead of editing the Request object. This returned object needs to be assigned back to the request object of the client.

ajduffield commented 1 year ago

Submitted PR: https://github.com/opsgenie/opsgenie-go-sdk-v2/pull/125 to fix

smitthakkar96 commented 1 month ago

Hello team,

Are there any updates on this?