-
Notifications
You must be signed in to change notification settings - Fork 203
[fix] Replace redundant fmt.Errorf with errors.New
#10434
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
|
This pull request does not have a backport label. Could you fix it @hayotbisonai? 🙏
|
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
blakerouse
left a comment
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.
You have a file importing both "errors" and the ".../errors" package that the Elastic Agent has. That needs to be fixed.
@blakerouse Thanks for catching it! I made quick fix here 234e5ff |
|
Buildkite test this |
What does this PR do?
fmt.Errorf("msg")→errors.New("msg")Why is it important?
Checklist
./changelog/fragmentsusing the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself