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

HealthCheck: Set initial state #1841

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

klauspost
Copy link
Contributor

When starting health checks, do a single check before starting the async health checker to set the initial state of the client.

Fixes #1840

Also minor bonus, that you cannot accidentally start two if status is offline.

When starting health checks, do a single check before starting the async health checker to set the initial state of the client.

Fixes minio#1840

Also minor bonus, that you cannot accidentally start two if status is offline.
@harshavardhana harshavardhana merged commit 691ae87 into minio:master Jun 20, 2023
@klauspost klauspost deleted the healthcheck-do-initial-state branch June 20, 2023 09:50
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.

HealthCheck never returns an error
3 participants