Skip to content
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 firewall_id field for NodeBalancers #364

Conversation

amisiorek-akamai
Copy link
Contributor

@amisiorek-akamai amisiorek-akamai commented Aug 22, 2023

📝 Description

Adds firewall_id to NodeBalancer struct

✔️ How to Test

Uncomment changes related to firewall ids in setupNodeBalancer. Currently cannot have test with firewall as there is no availability in the region with api.dev and a null point error when we use api.linode.

make ARGS="-run TestNodeBalancer_Create_create" fixtures

@amisiorek-akamai amisiorek-akamai requested a review from a team as a code owner August 22, 2023 18:10
@zliang-akamai
Copy link
Member

zliang-akamai commented Aug 23, 2023

I think this field belongs to NodeBalancerCreateOptions struct, according to the API design. Am I correct?

@amisiorek-akamai
Copy link
Contributor Author

Ah you're right, not sure if it should be in the returning object too though? I see your comment on the google doc.

nodebalancer.go Outdated Show resolved Hide resolved
@jriddle-linode jriddle-linode requested a review from a team August 25, 2023 21:03
@zliang-akamai zliang-akamai self-requested a review August 28, 2023 14:15
@jriddle-linode jriddle-linode requested a review from a team August 28, 2023 19:05
Copy link
Contributor

@jriddle-linode jriddle-linode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good after you implement @zliang-akamai feedback.

@jriddle-linode jriddle-linode requested a review from a team August 28, 2023 19:17
Copy link
Member

@zliang-akamai zliang-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! 🎉

@amisiorek-akamai amisiorek-akamai merged commit 22eb395 into linode:feature/nodebalancer-firewall Aug 29, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants