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

Upgrade go.uber.org/mock/mockgen to v0.4.0 #6477

Conversation

antoninbas
Copy link
Contributor

The version of the mockgen binary included in the codegen image should match the version of the go.uber.org/mock module that we use.

There was a small change in formatting of generated files (extra empty line), which is why all generated mock files are updated as part of this PR...

@antoninbas
Copy link
Contributor Author

Should be merged after #6481

tnqn
tnqn previously approved these changes Jun 25, 2024
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

The version of the mockgen binary included in the codegen image should
match the version of the go.uber.org/mock module that we use.

There was a small change in formatting of generated files (extra empty
line), which is why all generated mock files are updated as part of this
PR...

Signed-off-by: Antonin Bas <[email protected]>
@antoninbas antoninbas force-pushed the upgrade-go.uber.org/mock/mockgen-to-v0.4.0 branch from 225ed30 to 8f81a45 Compare June 25, 2024 18:33
@antoninbas antoninbas requested a review from tnqn June 25, 2024 18:33
@antoninbas
Copy link
Contributor Author

@tnqn I rebased after merging #6481 and some generated files had to be updated

@antoninbas antoninbas merged commit c0f964b into antrea-io:main Jun 26, 2024
48 of 54 checks passed
@antoninbas antoninbas deleted the upgrade-go.uber.org/mock/mockgen-to-v0.4.0 branch June 26, 2024 15:35
antoninbas added a commit to antoninbas/antrea that referenced this pull request Jun 26, 2024
PRs antrea-io#6447 and antrea-io#6477 got merged around the same time, and the mock file
for the BGP interface was not generated using the latest mockgen
version.

Signed-off-by: Antonin Bas <[email protected]>
antoninbas added a commit that referenced this pull request Jun 27, 2024
PRs #6447 and #6477 got merged around the same time, and the mock file
for the BGP interface was not generated using the latest mockgen
version.

Signed-off-by: Antonin Bas <[email protected]>
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