* [PATCH proxmox-backup] fix #6251: api: Remove running tasks from errors output
@ 2026-08-27 15:47 Jonas Theisen
0 siblings, 0 replies; only message in thread
From: Jonas Theisen @ 2026-08-27 15:47 UTC (permalink / raw)
To: pbs-devel
Currently running tasks are returned by the PBS API in the query
for errored tasks.
This patch adds an additional condition to filter out running tasks
when queried for errored tasks.
Reported in https://forum.proxmox.com/threads/163872/,
https://forum.proxmox.com/threads/185999/ and
https://bugzilla.proxmox.com/show_bug.cgi?id=6251
Signed-off-by: Jonas Theisen <j.theisen@proxmox.com>
---
src/api2/node/tasks.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/api2/node/tasks.rs b/src/api2/node/tasks.rs
index 96f5e080f..4786820a3 100644
--- a/src/api2/node/tasks.rs
+++ b/src/api2/node/tasks.rs
@@ -610,6 +610,7 @@ pub fn list_tasks(
(Some(state), Some(filters)) if !filters.contains(&tasktype(state)) => {
continue;
}
+ (None, _) if errors => continue,
(None, Some(_)) => continue,
_ => {}
}
--
2.47.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-27 15:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27 15:47 [PATCH proxmox-backup] fix #6251: api: Remove running tasks from errors output Jonas Theisen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.