-
Notifications
You must be signed in to change notification settings - Fork 88
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
add support for the type field when creating nodebalancers #669
Conversation
9e9e422
to
7626a27
Compare
7626a27
to
c70a957
Compare
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.
LGTM
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.
@eljohnson92 Thank you for the contribution! Can you add test cases, i.e. integration test, to test through the new field?
There are examples you can find here: https://github.com/linode/linodego/tree/main/test/integration
And you can test and generate the fixtures by running make TEST_ARGS="-run $TestCaseName" fixtures
@yec-akamai I can definitely add this, the only issue is currently the Linode API does not return what the type is from a created NB so we can test that submission works but not validate it is the right type, do you think just submission is good for now? |
c599690
to
9db149b
Compare
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.
Tests all passed on my end, nice work!
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.
LGTM, thanks for the contribution
9db149b
to
301ae3b
Compare
301ae3b
to
d9e6253
Compare
📝 Description
What does this PR do and why is this change necessary?
This PR adds support for a new
type
of nodebalancer calledpremium
✔️ How to Test
What are the steps to reproduce the issue or verify the changes?
This can be tested by sending a request for an explicit
common
orpremium
nodebalancer typeHow do I run the relevant unit/integration tests?