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: check chassis before creation #3482

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

bobz965
Copy link
Collaborator

@bobz965 bobz965 commented Dec 4, 2023

Pull Request

What type of this PR

Examples of user facing changes:

  • Bug fixes

Which issue(s) this PR fixes

Fixes #(issue-number)

WHAT

🤖[deprecated] Generated by Copilot at 2495155

Avoid creating duplicate gateway chassises for logical router ports. Check if a gateway chassis with the given name already exists before creating a new one in CreateGatewayChassisesOp function in pkg/ovs/ovn-nb-gateway_chassis.go.

🤖[deprecated] Generated by Copilot at 2495155

CreateGatewayChassisesOp
Avoids duplicates - kireji
Snowflakes are unique - kigo

HOW

🤖[deprecated] Generated by Copilot at 2495155

  • Prevent creating duplicate gateway chassises for logical router ports (link)

@bobz965 bobz965 merged commit 39e9201 into kubeovn:master Dec 4, 2023
60 checks passed
@bobz965 bobz965 deleted the fix-chassis-recreation branch December 4, 2023 06:00
bobz965 added a commit that referenced this pull request Dec 4, 2023
bobz965 added a commit that referenced this pull request Dec 4, 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