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 crash when deleting the Secret storing BGP passwords #7042

Conversation

hongliangl
Copy link
Contributor

No description provided.

@hongliangl hongliangl added action/backport Indicates a PR that requires backports. action/release-note Indicates a PR that should be included in release notes. labels Mar 4, 2025
@hongliangl hongliangl requested review from tnqn and luolanzone March 4, 2025 03:12
@hongliangl hongliangl force-pushed the 20250304-fix-crash-when-deleting-secret branch from fa5a63b to 6597614 Compare March 4, 2025 03:36
updatedIPv4Peer3Config.Password = "updated-" + peer3AuthPassword
mockBGPServer.EXPECT().UpdatePeer(gomock.Any(), updatedIPv4Peer1Config)
mockBGPServer.EXPECT().UpdatePeer(gomock.Any(), updatedIPv4Peer3Config)
copiedIPv4Peer1Config := ipv4Peer1Config
Copy link
Contributor

Choose a reason for hiding this comment

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

for the variable names, maybe something like expectedIPv4Peer1Config would make more sense, since you are using these variables to set expectations on mockBGPServer. I find the copied prefix a bit misleading in this context.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@hongliangl hongliangl force-pushed the 20250304-fix-crash-when-deleting-secret branch from 6597614 to dc120bc Compare March 4, 2025 07:56
Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

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

LGTM

@antoninbas
Copy link
Contributor

/test-all

Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

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

LGTM

@antoninbas antoninbas merged commit 00d09dc into antrea-io:main Mar 5, 2025
59 of 60 checks passed
@hongliangl hongliangl deleted the 20250304-fix-crash-when-deleting-secret branch March 5, 2025 08:30
hongliangl added a commit to hongliangl/antrea that referenced this pull request Mar 5, 2025
hongliangl added a commit to hongliangl/antrea that referenced this pull request Mar 5, 2025
hongliangl added a commit to hongliangl/antrea that referenced this pull request Mar 5, 2025
tnqn pushed a commit that referenced this pull request Mar 5, 2025
tnqn pushed a commit that referenced this pull request Mar 5, 2025
tnqn pushed a commit that referenced this pull request Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/backport Indicates a PR that requires backports. action/release-note Indicates a PR that should be included in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants