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

handle variants queries gracefully when not using gohan #96

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

gsfk
Copy link
Member

@gsfk gsfk commented Jun 18, 2024

(Redmine #2190)

Some Bento instances do not have variants data, and if they have a beacon UI, the variants portion of the UI is turned off. A variants query to any of these beacons is interpreted as an error, since it suggests a misconfigured UI.

However in the context of a beacon network, it should be considered normal to receive requests about variants when none are available. This pr replaces the previous error response with a zero results response, along with a short message.

@CowTrainer
Copy link

lgtm

@gsfk gsfk merged commit 9e173fc into master Jun 19, 2024
2 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