Skip to content

Commit

Permalink
Add change after rebase from main
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeefreak101 committed Dec 18, 2023
1 parent b299d27 commit 3456070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/redfishwrapper/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3456070

Please sign in to comment.