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

Fix: Typo that does not reload downtimes after retention load #2034

Merged
merged 1 commit into from Apr 26, 2024

Conversation

maethor
Copy link
Contributor

@maethor maethor commented Apr 11, 2024

Since Shinken 2.4.4 (and exactly since 5f3525f), hosts and services downtimes are lost after arbiter/scheduler restarts.

Shinken 2.4.4 removes the retention of in_scheduled_downtime and uses a new method after retention load to re-compute the variable by looking at downtimes list. BUT it computes is_in_scheduled_downtime instead of in_scheduled_downtime, so the rest does not work (at least in mod_webui, but I can't see how it could work anywhere).

This PR fixes the typo.

@geektophe
Copy link
Collaborator

Good catch, thank you !

@geektophe geektophe merged commit 62039be into shinken-solutions:master Apr 26, 2024
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.

None yet

2 participants