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

Actually pass standby-ok config params to health check #367

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wiebeck
Copy link
Contributor

@wiebeck wiebeck commented Feb 10, 2025

In #320 I already fixed an issue with letter casing for the two health check query params standbyok and perfstandbyok, now we noticed that these two options are never ever being used in production. VaultHealthCheck#call only calls the parameter-less status() method instead of the method accepting two parameters for standbyok and perfstandbyok, so the config parameters were actually ineffective altogether.

This PR fixes this behavior.

@wiebeck wiebeck requested a review from a team as a code owner February 10, 2025 13:27
@wiebeck
Copy link
Contributor Author

wiebeck commented Feb 10, 2025

I would love to provide some tests but I'm having problems setting up a proper @QuarkusTest with mocked configuration in order to verify the correct method being called.

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.

1 participant