mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 02:36:17 +01:00
add check for status alerts which are not properly resolved (#1052)
This commit is contained in:
@@ -7,17 +7,17 @@ import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
)
|
||||
|
||||
// TestDeleteOldSystemStats exposes deleteOldSystemStats for testing
|
||||
func TestDeleteOldSystemStats(app core.App) error {
|
||||
// DeleteOldSystemStats exposes deleteOldSystemStats for testing
|
||||
func DeleteOldSystemStats(app core.App) error {
|
||||
return deleteOldSystemStats(app)
|
||||
}
|
||||
|
||||
// TestDeleteOldAlertsHistory exposes deleteOldAlertsHistory for testing
|
||||
func TestDeleteOldAlertsHistory(app core.App, countToKeep, countBeforeDeletion int) error {
|
||||
// DeleteOldAlertsHistory exposes deleteOldAlertsHistory for testing
|
||||
func DeleteOldAlertsHistory(app core.App, countToKeep, countBeforeDeletion int) error {
|
||||
return deleteOldAlertsHistory(app, countToKeep, countBeforeDeletion)
|
||||
}
|
||||
|
||||
// TestTwoDecimals exposes twoDecimals for testing
|
||||
func TestTwoDecimals(value float64) float64 {
|
||||
// TwoDecimals exposes twoDecimals for testing
|
||||
func TwoDecimals(value float64) float64 {
|
||||
return twoDecimals(value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user