Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

chore: bump version to 5.0.13 and fix test mocks

rcourtman486ee29bc811
diff --git a/VERSION b/VERSION
index 718db1c46f..2713f1415e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-5.0.12
+5.0.13
diff --git a/internal/api/audit_handlers_test.go b/internal/api/audit_handlers_test.go
index a49dc17a3e..1a1bbc82f9 100644
--- a/internal/api/audit_handlers_test.go
+++ b/internal/api/audit_handlers_test.go
@@ -57,6 +57,14 @@ func (l *testAuditLogger) VerifySignature(event audit.Event) bool {
return l.verifyResult
}
+func (l *testAuditLogger) GetWebhookURLs() []string {
+ return []string{}
+}
+
+func (l *testAuditLogger) UpdateWebhookURLs(urls []string) error {
+ return nil
+}
+
type testAuditLoggerNoVerify struct {
events []audit.Event
}
@@ -78,6 +86,14 @@ func (l *testAuditLoggerNoVerify) Close() error {
return nil
}
+func (l *testAuditLoggerNoVerify) GetWebhookURLs() []string {
+ return []string{}
+}
+
+func (l *testAuditLoggerNoVerify) UpdateWebhookURLs(urls []string) error {
+ return nil
+}
+
func setAuditLogger(t *testing.T, logger audit.Logger) {
prev := audit.GetLogger()
audit.SetLogger(logger)