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 initialization check of vpc nat gateway configuration #2978

Merged
merged 2 commits into from
Jun 25, 2023

Conversation

qiutingjun
Copy link
Contributor

@qiutingjun qiutingjun commented Jun 25, 2023

What type of this PR

  • Bug fixes

fix initialization check of vpc nat gateway configuration caused by splition of configuration of vpc-nat-config and vpc-nat-gw-config

Which issue(s) this PR fixes:

Fixes #(issue-number)

WHAT

🤖 Generated by Copilot at c2e2eec

Refactor the code in pkg/controller/init.go to separate the logic of checking the vpc nat and vpc nat gateway configmaps. This improves the code readability and robustness, and matches the documentation.

🤖 Generated by Copilot at c2e2eec

Split configmap logic
ovn-vpc-nat and gw
Clearer code in spring

HOW

🤖 Generated by Copilot at c2e2eec

  • Split the logic of checking the ovn-vpc-nat-config and the ovn-vpc-nat-gw-config configmaps in the initVpcNatGateway function (link)

pkg/controller/init.go Outdated Show resolved Hide resolved
@bobz965 bobz965 merged commit 65fd8a4 into kubeovn:master Jun 25, 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.

2 participants