Skip to content

Conversation

@wblew
Copy link
Contributor

@wblew wblew commented Mar 24, 2025

The Uptime Kuma enhanced application displays its monitors Up/Down live counts.

However, an UptimeKuma/UptimeKuma.php typo in its livestats() function is failing.

Thus its Up and Down counts are always zero.

This PR fixes this issue by using the correct operator: change an !== operator to the === operator.

Fix UptimeKuma::livestats() function. An incorrect !== operator, that should be
===, prevent the monitor_status metric lines from being counted by livestats().
@mvdkleijn mvdkleijn merged commit a56b812 into linuxserver:master Mar 24, 2025
4 checks passed
@LinuxServer-CI LinuxServer-CI moved this from PRs to Done in Issue & PR Tracker Mar 24, 2025
This was referenced May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants