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

Graceful shutdown #109

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Graceful shutdown #109

wants to merge 9 commits into from

Conversation

robertvolkmann
Copy link
Contributor

@robertvolkmann robertvolkmann commented Sep 26, 2023

The metal-core container returns an exit code of 2 when terminated using docker stop.

@robertvolkmann
Copy link
Contributor Author

Depends on metal-stack/go-lldpd#25

@robertvolkmann robertvolkmann marked this pull request as ready for review January 17, 2025 14:31
@robertvolkmann robertvolkmann requested a review from a team as a code owner January 17, 2025 14:31
@iljarotar
Copy link
Contributor

Will try that in dev environment.

@iljarotar
Copy link
Contributor

Works in test environment, exit code 2 does not occur when stopping metal-core.

@majst01
Copy link
Contributor

majst01 commented Feb 4, 2025

Conflicts must be resolved

@majst01
Copy link
Contributor

majst01 commented Feb 5, 2025

Nice refactoring, appreciate that ! Should go to test for a while and the small integration test should be executed there.

cmd/server.go Show resolved Hide resolved
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.

3 participants