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

(BIDS-2591) Improve return value for dashboard effectiveness #2631

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

D13ce
Copy link
Contributor

@D13ce D13ce commented Oct 23, 2023

This PR causes /dashboard/data/effectiveness to return 204 (no content) if no active validator is part of the query. Before, 400 (bad request) was returned which is not correct as a dashboard for only an exited validator is still valid.

handlers/dashboard.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@LuccaBitfly LuccaBitfly left a comment

Choose a reason for hiding this comment

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

lgtm

@D13ce D13ce merged commit 206c355 into master Oct 24, 2023
3 checks passed
@D13ce D13ce deleted the BIDS-2591/DashboardForNoActiveValidators branch October 24, 2023 07:16
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