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

Only mark a day as missing if there are less than the requested regions. #133

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

matsimitsu
Copy link
Member

Before this commit, we would mark any day with an amount of regions not equal to the monitor as missing.

However the API can return 4 regions, while the monitor has 2 regions. We would mark this as missing days.

This commit fixes that issue. We only consider a day as missing, if the amount of regions is less than the monitor.

@matsimitsu matsimitsu added the bug label Oct 9, 2024
@matsimitsu matsimitsu self-assigned this Oct 9, 2024
Before this commit, we would mark any day with an amount of regions not equal to the monitor as missing.

However the API can return 4 regions, while the monitor has 2 regions.
We would mark this as missing days.

This commit fixes that issue. We only consider a day as missing, if the amount of regions is less than the monitor.
@matsimitsu matsimitsu merged commit e90f128 into main Oct 10, 2024
3 checks passed
@matsimitsu matsimitsu deleted the fix-missing-points-limited-regions branch October 10, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants