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

feat: add replace_existing_checks option to agent.service.register() #87

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

cpaillet
Copy link
Contributor

@cpaillet cpaillet commented Oct 1, 2024

Move replace_existing_checks from Catalog.register() to agent.service.register()

- Introduced `replace_existing_checks` parameter in the `register()` method to allow deletion of missing health checks from the request.
- Ensures idempotent registration of services and their checks without needing manual deregistration of checks.
@cpaillet cpaillet requested a review from a team October 1, 2024 14:37
@cpaillet cpaillet merged commit daac265 into criteo:master Oct 1, 2024
5 checks passed
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.

2 participants