diff --git a/internal/redfishwrapper/task.go b/internal/redfishwrapper/task.go index 5932b0d1..d9f8a64d 100644 --- a/internal/redfishwrapper/task.go +++ b/internal/redfishwrapper/task.go @@ -74,9 +74,9 @@ func (c *Client) taskMessagesAsString(messages []common.Message) string { func (c *Client) ConvertTaskState(state string) constants.TaskState { switch strings.ToLower(state) { - case "starting", "downloading", "downloaded": + case "starting", "downloading", "downloaded", "scheduling": return constants.Initializing - case "running", "stopping", "cancelling", "scheduling": + case "running", "stopping", "cancelling": return constants.Running case "pending", "new": return constants.Queued