-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(provider): add support for Vultr #829
Conversation
Preemptively answering these questions
|
@qdm12 any luck getting to this? 🙏🏽 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also what is that Status used for? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the HTTP status code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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