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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

For eip created without spec.V4ip this field is always empty #2912

Merged
merged 1 commit into from Jun 7, 2023

Conversation

oilbeater
Copy link
Collaborator

@oilbeater oilbeater commented Jun 7, 2023

What type of this PR

Examples of user facing changes:

  • Bug fixes

Which issue(s) this PR fixes:

Fixes #(issue-number)

WHAT

馃 Generated by Copilot at 36d8a30

Refactor EIP-related functions in vpc_nat_gw_eip.go to remove redundant checks and simplify logic.

馃 Generated by Copilot at 36d8a30

No more redundant checks for eip.Spec.V4ip
Simplify the logic, avoid the abyss
EIP spec and status must align
Or face the wrath of the divine

HOW

馃 Generated by Copilot at 36d8a30

  • Simplify the logic of getting and updating EIPs by removing redundant checks for eip.Spec.V4ip (link, link)

@oilbeater oilbeater added bug Something isn't working need backport vpc labels Jun 7, 2023
@oilbeater oilbeater requested a review from bobz965 June 7, 2023 09:24
@oilbeater oilbeater merged commit 3616d3d into master Jun 7, 2023
55 of 58 checks passed
@oilbeater oilbeater deleted the fix/eip branch June 7, 2023 11:07
oilbeater added a commit that referenced this pull request Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need backport vpc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants