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

Add a method to expose http.Server.Shutdown to allow graceful shutdowns #168

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

michel-laterman
Copy link
Contributor

What does this PR do?

expose the API server's http.Server.Shutdown function.

Why is it important?

Allow callers to gracefully shutdown the HTTP server.

Related issues

While this is not strictly required for me to complete the fleet-server issue, it's a pretty simple addition.

@michel-laterman michel-laterman added enhancement New feature or request Team:Elastic-Agent Label for the Agent team labels Dec 14, 2023
@michel-laterman michel-laterman requested a review from a team as a code owner December 14, 2023 15:55
@michel-laterman michel-laterman requested review from rdner and fearful-symmetry and removed request for a team December 14, 2023 15:55
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

@michel-laterman michel-laterman merged commit ba07173 into elastic:main Dec 21, 2023
@michel-laterman michel-laterman deleted the api-shutdown branch December 21, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants