opsgenie-go-sdk-v2 icon indicating copy to clipboard operation
opsgenie-go-sdk-v2 copied to clipboard

Context is not actually passed to http request

Open ajduffield opened this issue 1 year ago • 2 comments

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 avatar Mar 23 '23 18:03 ajduffield

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

ajduffield avatar Mar 23 '23 18:03 ajduffield

Hello team,

Are there any updates on this?

smitthakkar96 avatar May 30 '24 15:05 smitthakkar96