PNStatus not populated completely
|
res, _, err := executeRequest(opts) |
Why are we ignoring the PNStatus returned by executeRequest here?
executeRequest has full context of the API response and returns a fully populated PNStatus which is ignored and it is then being recreated minimally with only PNStatus.Category information.
Solution
We should either be passing the returned response from executeRequest or construct the PNStatus fully.
PNStatusnot populated completelygo/subscription_manager.go
Line 336 in a2c70fc
executeRequesthas full context of the API response and returns a fully populatedPNStatuswhich is ignored and it is then being recreated minimally with onlyPNStatus.Categoryinformation.Solution
We should either be passing the returned response from
executeRequestor construct thePNStatusfully.