Repository navigation
feat(provider): add support for Vultr - #829
Conversation
|
Preemptively answering these questions
|
|
@qdm12 any luck getting to this? 🙏🏽 |
qdm12
left a comment
There was a problem hiding this comment.
Hi there! Thanks for the PR and congrats on your first few Go steps! 💯
Looking pretty good, with a few minor changes to make 😉
| decoder := json.NewDecoder(response.Body) | ||
| var parsedJSON struct { | ||
| Error string | ||
| Status uint32 |
There was a problem hiding this comment.
Also what is that Status used for? 🤔
There was a problem hiding this comment.
It's the HTTP status code
There was a problem hiding this comment.
Ok that's weird 😄 Should we... remove it from that struct?? Since it's... well, in the HTTP response already...
There was a problem hiding this comment.
For the sake of implementing the API, I've added it, can remove it if you insist 🙏🏽
|
Sorry for the delay, I was away. Can you recheck? |
126315b to
691ed32
Compare
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
…ed error is empty
- we don't do it for updateRecord - not really sure why we do it in the first place honestly
|
Hey there, thanks for the last few commits! |
First time writing go, this was easy thanks to great docs and example 🙏🏽
Go easy on the roast 😛
Vultr DNS API docs for ref
Excited for the merge, so I can use this instead of my janky script https://github.com/amroessam/vultr-ddns