Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/en/guide/project/workflow-instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ figure:
|-----------------------------------|------|-------|------|-------|----------------|--------|-------------|
| SUBMITTED_SUCCESS | | | √ | √ | | | √ |
| SERIAL_WAIT | | | √ | | | | √ |
| WAIT_TO_RUN | | | | | | | √ |
| FAILOVER | | | | | | | √ |
| Executing | | | √ | √ | | | √ |
| READY PAUSE | | | | | | | √ |
| PAUSE | √ | √ | | | √ | √ | √ |
Expand Down
6 changes: 3 additions & 3 deletions dolphinscheduler-ui/src/common/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,13 +368,13 @@ export const workflowExecutionState = (
isSpin: true,
classNames: 'serial_wait'
},
WAIT_TO_RUN: {
FAILOVER: {
id: 18,
desc: `${t('project.workflow.wait_to_run')}`,
desc: `${t('project.workflow.failover')}`,
color: '#5102ce',
icon: HourglassOutlined,
isSpin: false,
classNames: 'wait_to_run'
classNames: 'failover'
}
})

Expand Down
2 changes: 1 addition & 1 deletion dolphinscheduler-ui/src/common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export type IWorkflowExecutionState =
| 'FAILURE'
| 'SUCCESS'
| 'SERIAL_WAIT'
| 'WAIT_TO_RUN'
| 'FAILOVER'

export type ITaskStateConfig = {
[key in ITaskState]: {
Expand Down
1 change: 0 additions & 1 deletion dolphinscheduler-ui/src/locales/en_US/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ export default {
dispatch: 'DISPATCH',
ready_block: 'READY_BLOCK',
block: 'BLOCK',
wait_to_run: 'WAIT_TO_RUN',
failover: 'FAILOVER'
}
2 changes: 1 addition & 1 deletion dolphinscheduler-ui/src/locales/en_US/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default {
'Can not find any relations of workflows.',
workflow_relation_no_data_result_desc:
'There is not any workflows. Please create a workflow, and then visit this page again.',
wait_to_run: 'Wait to run',
failover: 'failover',
confirm_to_online: 'Confirm to make the workflow online?',
confirm_to_offline: 'Confirm to make the workflow offline?',
time_to_online: 'Confirm to make the Scheduler online?',
Expand Down
1 change: 0 additions & 1 deletion dolphinscheduler-ui/src/locales/zh_CN/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ export default {
dispatch: '派发',
ready_block: '准备阻断',
block: '阻断',
wait_to_run: '等待执行',
failover: '恢复容错'
}
2 changes: 1 addition & 1 deletion dolphinscheduler-ui/src/locales/zh_CN/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export default {
workflow_relation_no_data_result_title: '工作流关系不存在',
workflow_relation_no_data_result_desc:
'目前没有任何工作流,请先创建工作流,再访问该页面',
wait_to_run: '等待执行',
failover: '容错',
confirm_to_online: '是否确定上线该工作流?',
confirm_to_offline: '是否确定下线该工作流?',
time_to_online: '是否确定上线该定时?',
Expand Down
Loading