From fec192eeb0557bf3d84c4f295148c01e1adc5b60 Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Thu, 15 Aug 2024 12:40:01 -0700 Subject: [PATCH] :bug: quota blocked tasks should be included in queued. Signed-off-by: Jeff Ortel --- api/task.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/task.go b/api/task.go index 886efa41a..7be20b9a9 100644 --- a/api/task.go +++ b/api/task.go @@ -154,6 +154,7 @@ func (h TaskHandler) List(ctx *gin.Context) { qf.Token{Kind: qf.STRING, Value: tasking.Ready}, qf.Token{Kind: qf.STRING, Value: tasking.Postponed}, qf.Token{Kind: qf.STRING, Value: tasking.Pending}, + qf.Token{Kind: qf.STRING, Value: tasking.QuotaBlocked}, qf.Token{Kind: qf.STRING, Value: tasking.Running}) default: values = append(values, v) @@ -249,6 +250,7 @@ func (h TaskHandler) Queued(ctx *gin.Context) { tasking.Ready, tasking.Postponed, tasking.Pending, + tasking.QuotaBlocked, tasking.Running, }) db = db.Group("State")