From 34560703367bee91a222a2580310bcd1fe14af18 Mon Sep 17 00:00:00 2001 From: John Mears Date: Mon, 18 Dec 2023 10:26:07 -0700 Subject: [PATCH] Add change after rebase from main --- internal/redfishwrapper/task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/redfishwrapper/task.go b/internal/redfishwrapper/task.go index 5932b0d1b..d9f8a64da 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