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.

fix: cleanup completed docker commands to prevent re-execution. Address #1010

rcourtman661645585aea
diff --git a/internal/monitoring/docker_commands.go b/internal/monitoring/docker_commands.go
index 5471d03fe7..f7d869e41e 100644
--- a/internal/monitoring/docker_commands.go
+++ b/internal/monitoring/docker_commands.go
@@ -362,9 +362,7 @@ func (m *Monitor) acknowledgeDockerCommand(commandID, hostID, status, message st
case DockerCommandStatusCompleted:
cmd.markAcknowledged(message)
cmd.markCompleted(message)
- if cmd.status.Type == DockerCommandTypeStop {
- shouldRemove = true
- }
+ shouldRemove = true
case DockerCommandStatusFailed:
cmd.markFailed(message)
m.state.SetDockerHostPendingUninstall(resolvedHostID, false)