Skip to content

Commit dcd1201

Browse files
authored
feat(specs): Add failureThreshold to Task and TaskUpdate types (#2144)
1 parent 27ca3f1 commit dcd1201

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

specs/ingestion/common/schemas/run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Run:
4747
type: integer
4848
outcome:
4949
$ref: '#/RunOutcome'
50-
failureThrehsold:
50+
failureThreshold:
5151
$ref: './task.yml#/failureThreshold'
5252
reason:
5353
type: string

specs/ingestion/common/schemas/task.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Task:
1616
type: boolean
1717
default: true
1818
description: Whether the task is enabled or not.
19+
failureThreshold:
20+
$ref: '#/failureThreshold'
1921
action:
2022
$ref: '#/ActionType'
2123
# lastCursorValue:
@@ -102,6 +104,8 @@ TaskUpdate:
102104
enabled:
103105
type: boolean
104106
description: Whether the task is enabled or not.
107+
failureThreshold:
108+
$ref: '#/failureThreshold'
105109

106110
TaskUpdateResponse:
107111
type: object

0 commit comments

Comments
 (0)