Skip to content

Commit 33b0c80

Browse files
author
苏义超
committed
remove WAIT_TO_RUN and add FAILOVER
1 parent 80d8439 commit 33b0c80

File tree

7 files changed

+7
-9
lines changed

7 files changed

+7
-9
lines changed

docs/docs/en/guide/project/workflow-instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ figure:
5656
|-----------------------------------|------|-------|------|-------|----------------|--------|-------------|
5757
| SUBMITTED_SUCCESS | | ||| | ||
5858
| SERIAL_WAIT | | || | | ||
59-
| WAIT_TO_RUN | | | | | | ||
59+
| FAILOVER | | | | | | ||
6060
| Executing | | ||| | ||
6161
| READY PAUSE | | | | | | ||
6262
| PAUSE ||| | ||||

dolphinscheduler-ui/src/common/common.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,13 +368,13 @@ export const workflowExecutionState = (
368368
isSpin: true,
369369
classNames: 'serial_wait'
370370
},
371-
WAIT_TO_RUN: {
371+
FAILOVER: {
372372
id: 18,
373-
desc: `${t('project.workflow.wait_to_run')}`,
373+
desc: `${t('project.workflow.failover')}`,
374374
color: '#5102ce',
375375
icon: HourglassOutlined,
376376
isSpin: false,
377-
classNames: 'wait_to_run'
377+
classNames: 'failover'
378378
}
379379
})
380380

dolphinscheduler-ui/src/common/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export type IWorkflowExecutionState =
3939
| 'FAILURE'
4040
| 'SUCCESS'
4141
| 'SERIAL_WAIT'
42-
| 'WAIT_TO_RUN'
42+
| 'FAILOVER'
4343

4444
export type ITaskStateConfig = {
4545
[key in ITaskState]: {

dolphinscheduler-ui/src/locales/en_US/home.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ export default {
3939
dispatch: 'DISPATCH',
4040
ready_block: 'READY_BLOCK',
4141
block: 'BLOCK',
42-
wait_to_run: 'WAIT_TO_RUN',
4342
failover: 'FAILOVER'
4443
}

dolphinscheduler-ui/src/locales/en_US/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export default {
230230
'Can not find any relations of workflows.',
231231
workflow_relation_no_data_result_desc:
232232
'There is not any workflows. Please create a workflow, and then visit this page again.',
233-
wait_to_run: 'Wait to run',
233+
failover: 'failover',
234234
confirm_to_online: 'Confirm to make the workflow online?',
235235
confirm_to_offline: 'Confirm to make the workflow offline?',
236236
time_to_online: 'Confirm to make the Scheduler online?',

dolphinscheduler-ui/src/locales/zh_CN/home.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ export default {
3939
dispatch: '派发',
4040
ready_block: '准备阻断',
4141
block: '阻断',
42-
wait_to_run: '等待执行',
4342
failover: '恢复容错'
4443
}

dolphinscheduler-ui/src/locales/zh_CN/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export default {
228228
workflow_relation_no_data_result_title: '工作流关系不存在',
229229
workflow_relation_no_data_result_desc:
230230
'目前没有任何工作流,请先创建工作流,再访问该页面',
231-
wait_to_run: '等待执行',
231+
failover: '容错',
232232
confirm_to_online: '是否确定上线该工作流?',
233233
confirm_to_offline: '是否确定下线该工作流?',
234234
time_to_online: '是否确定上线该定时?',

0 commit comments

Comments
 (0)