go-acme / lego

Let's Encrypt/ACME client and library written in Go
https://go-acme.github.io/lego/
MIT License
7.91k stars 1.02k forks source link

chore: bump to github.com/vultr/govultr/v3 #2235

Closed mikelolasagasti closed 2 months ago

mikelolasagasti commented 2 months ago

Version v3 of the API adds http.response to calls, add a function to report response code.

https://github.com/vultr/govultr/compare/v2.17.2...v3.9.0

ldez commented 2 months ago

The status code is already handled by the API client.

Also, the error is handled by the first if err != nil, so the response will never contain a status different than 2XX after this if.

https://github.com/vultr/govultr/blob/d2142cf9d4b52038721b4fb452441acf28f49d11/govultr.go#L214-L223