-
Notifications
You must be signed in to change notification settings - Fork 495
refactor(protobuf): update protobuf imports #340
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
base: main
Are you sure you want to change the base?
Conversation
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
| require ( | ||
| github.com/bufbuild/protocompile v0.4.0 // indirect | ||
| github.com/fatih/color v1.7.0 // indirect | ||
| github.com/golang/protobuf v1.5.3 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this manually added or was it added as a part of go mod tidy ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See diff, removed from line 6, moved to indirect. It meant it's no longer being directly used, coinciding with require line removals in below .go files.
I wouldn't concern with this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is not being used directly. But running go mod tidy will check in case it can be removed as indirect dependency as well
Ran it locally, seems to fine
|
Please rebase the PR then we should be good for merging it 🚀 |
Summary
Following this issue, update deprecated protobuf imports to
google.golang.org/protobuf.Closes #338 (confirmed that the test passed in 1.24.0)