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

Service registration with multiple checks #59

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

mbrulatout
Copy link
Contributor

@mbrulatout mbrulatout commented Mar 15, 2024

Without breaking compatibility, an optional extra_checks list of Checks allows us to register multiple checks during service registration.

Note that this was still possible through check registration but requires multiple API calls.

Also extended a test to register multiple checks and ensure both are passing

Without breaking compatibility, an optional extra_checks
list of Checks allows us to register multiple checks during
service registration.

Note that this was still possible through check registration
but requires multiple API calls.
@mbrulatout mbrulatout self-assigned this Mar 15, 2024
@mbrulatout mbrulatout changed the title Multi checks Service registration with multiple checks Mar 15, 2024
@mbrulatout mbrulatout merged commit 52ccd85 into master Mar 18, 2024
8 checks passed
@mbrulatout mbrulatout deleted the multi_checks branch March 18, 2024 08:44
@@ -836,6 +836,7 @@ def register(
http=None,
timeout=None,
enable_tag_override=False,
extra_checks=None,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not define an empty list instead of None?

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