diff --git a/internal/scheduler/service/hpc/slurm.go b/internal/scheduler/service/hpc/slurm.go index 6b20785a..9fc93c74 100644 --- a/internal/scheduler/service/hpc/slurm.go +++ b/internal/scheduler/service/hpc/slurm.go @@ -69,6 +69,8 @@ func (c *ParticipantHpc) GetTask(ctx context.Context, taskId string) (*collector resp.Status = constants.Pending case "WAITING": resp.Status = constants.Waiting + case "CANCELLED": + resp.Status = constants.Cancelled default: resp.Status = "undefined" }