Skip to content

Commit d12999f

Browse files
committed
Fix validation
1 parent 497e31a commit d12999f

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

plugins/Checkly/v1/dataStreams/checkStatus.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"baseDataSourceName": "httpRequestUnscoped",
88
"config": {
99
"httpMethod": "get",
10-
"paging": {},
10+
"paging": {
11+
"mode": "none"
12+
},
1113
"expandInnerObjects": true,
1214
"endpointPath": "check-statuses",
1315
"getArgs": [],
@@ -26,20 +28,22 @@
2628
},
2729
{
2830
"name": "status",
29-
"valueExpression": "{{ $['isDegraded'] ? 'error' : 'success' }}",
3031
"shape": [
3132
"state",
3233
{
3334
"map": {
34-
"warning": [],
35-
"unmonitored": [],
36-
"error": [],
37-
"success": [],
38-
"unknown": []
35+
"unmonitored": [],
36+
"unknown": [],
37+
"error": [
38+
"true"
39+
],
40+
"warning": [],
41+
"success": [
42+
"false"
43+
]
3944
}
4045
}
4146
],
42-
"computed": true,
4347
"displayName": "Status"
4448
},
4549
{

plugins/Checkly/v1/dataStreams/report.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"required": false
1515
},
1616
"placeholder": "tag",
17+
"defaultValue": "",
1718
"isMulti": true,
18-
"defaultValue": [],
1919
"allowCustomValues": true
2020
}
2121
],
@@ -38,7 +38,7 @@
3838
},
3939
{
4040
"key": "filterByTags",
41-
"value": "{{tags}}"
41+
"value": "{{tags ? tags : []}}"
4242
}
4343
],
4444
"headers": []

0 commit comments

Comments
 (0)