Closed ezilber-akamai closed 2 weeks ago
Running the TF cross-test workflow against these changes here: https://github.com/lgarber-akamai/linodego/actions/runs/11111815305/job/30872572090
edit: Oops, I forgot to address the retry condition breaking changes. I'll fix that up on my TF fork and report back 🙂
I think it was implemented in a previous PR, but would it make sense for RequestParams
to be made private given it's only used by internal helpers?
📝 Description
Linodego currently uses the go-resty package to manage all HTTP requests made to the API. This includes logic for authentication, JSON marshaling/unmarshaling, request retries, and debug outputs.
Unfortunately this package has caused various issues for linodego users, including:
Because of these issues, Resty is being dropped as a dependency in favor of the mature and widely adopted net/http package.
✔️ How to Test
Run the unit test suite with
make testunit
Run the integration test suite with
make testint