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

fix CIDR and gateway validation #78

Merged
merged 2 commits into from
Mar 10, 2023
Merged

Conversation

guangbochen
Copy link
Contributor

Description:
When you try to create a VM network, it gives you a webhook validation CIDR error on submission per harvester/harvester#3629

Solution:
should validate both CIDR and gateway value when the NAD's route config mode is manual.

Related Issue:
harvester/harvester#3629

Copy link
Contributor

@yaocw2020 yaocw2020 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@bk201 bk201 requested review from futuretea and removed request for chrisho March 10, 2023 07:31
Copy link
Contributor

@futuretea futuretea left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

@futuretea futuretea merged commit 7765e83 into harvester:master Mar 10, 2023
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.

4 participants