Skip to content

Commit

Permalink
added missing transtion from finish state to scheduled state
Browse files Browse the repository at this point in the history
  • Loading branch information
rasamala83 committed Dec 18, 2024
1 parent 0db7771 commit 1b84a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workerclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var validStateTransitionMap map[HeraWorkerStatus][]HeraWorkerStatus = map[HeraWo
wsAcpt: {wsBusy},
wsBusy: {wsWait, wsQuce, wsFnsh},
wsWait: {wsQuce, wsFnsh},
wsFnsh: {wsAcpt},
wsFnsh: {wsAcpt, wsSchd},
wsQuce: {wsInit, wsFnsh}, //Forceful termination target state "wsInit", Graceful termination "wsFnsh"
}

Expand Down

0 comments on commit 1b84a6b

Please sign in to comment.