-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Elastic Agent] Fix some typos #29890
Conversation
This pull request does not have a backport label. Could you fix it @AndersonQ? 🙏
NOTE: |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
/test |
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.
just a minor fix
@@ -127,7 +127,7 @@ func newFleetGatewayWithScheduler( | |||
stateStore stateStore, | |||
) (gateway.FleetGateway, error) { | |||
|
|||
// Backoff implementation doesn't support the using context as the shutdown mechanism. | |||
// Backoff implementation doesn't support the using of a context as the shutdown mechanism. |
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.
// Backoff implementation doesn't support the using of a context as the shutdown mechanism. | |
// Backoff implementation doesn't support the using cancellation of a context as the shutdown mechanism. |
Is this what is meant?
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.
Suggest either "Backoff implementation doesn't support using a context [cancellation] as the shutdown mechanism." or "Backoff implementation doesn't support the use of a context [cancellation] as the shutdown mechanism." (insert "cancellation" according to taste).
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
Revert changes introduced in elastic#29890 that prevented all the artifacts to be build.
// Types is the list of package types | ||
var SelectedPackageTypes []PackageType | ||
// SelectedPackageTypes is the list of package types | ||
var SelectedPackageTypes []PackageType = []PackageType{TarGz} |
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.
Is this correct? The description mentioned comments only, but this is code?
I see failures in the packaging
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.
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.
This was a mistake, but it's been fixed already by #30007.
What does this PR do?
It fixes some typos and Go conventions on the code's comments.
Why is it important?
To keep consistent with the standard English.
Checklist
[ ] My code follows the style guidelines of this project[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature works[ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.