Browse Source

[Improve] Fix typo on ProcessServiceImpl (#15817)

3.2.2-release-bak
旺阳 7 months ago committed by GitHub
parent
commit
5050a8e1e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java

2
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java

@ -798,7 +798,7 @@ public class ProcessServiceImpl implements ProcessService {
// recover tolerance fault process // recover tolerance fault process
// If the workflow instance is in ready state, we will change to running, this can avoid the workflow // If the workflow instance is in ready state, we will change to running, this can avoid the workflow
// instance // instance
// status is not correct with taskInsatnce status // status is not correct with taskInstance status
if (processInstance.getState() == WorkflowExecutionStatus.READY_PAUSE if (processInstance.getState() == WorkflowExecutionStatus.READY_PAUSE
|| processInstance.getState() == WorkflowExecutionStatus.READY_STOP) { || processInstance.getState() == WorkflowExecutionStatus.READY_STOP) {
// todo: If we handle the ready state in WorkflowExecuteRunnable then we can remove below code // todo: If we handle the ready state in WorkflowExecuteRunnable then we can remove below code

Loading…
Cancel
Save