Skip to content

Commit 4862828

Browse files
[chore] jsonlint (#1454)
Co-authored-by: Austin Parker <austin@ap2.io>
1 parent 8605f61 commit 4862828

File tree

3 files changed

+56
-54
lines changed

3 files changed

+56
-54
lines changed

src/flagd/demo.flagd.json

+54-52
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,56 @@
11
{
2-
"$schema": "https://flagd.dev/schema/v0/flags.json",
3-
"flags": {
4-
"productCatalogFailure": {
5-
"description": "Fail product catalog service on a specific product",
6-
"state": "ENABLED",
7-
"variants": {
8-
"on": true,
9-
"off": false
10-
},
11-
"defaultVariant": "off"
12-
},
13-
"recommendationServiceCacheFailure": {
14-
"description": "Fail recommendation service cache",
15-
"state": "ENABLED",
16-
"variants": {
17-
"on": true,
18-
"off": false
19-
},
20-
"defaultVariant": "off"
21-
},
22-
"adServiceFailure": {
23-
"description": "Fail ad service",
24-
"state": "ENABLED",
25-
"variants": {
26-
"on": true,
27-
"off": false
28-
},
29-
"defaultVariant": "off",
30-
"targeting": {
31-
"fractional": [
32-
{ "var": "session" },
33-
[
34-
"on",
35-
10
36-
],
37-
[
38-
"off",
39-
90
40-
]
41-
]
42-
}
43-
},
44-
"cartServiceFailure": {
45-
"description": "Fail cart service",
46-
"state": "ENABLED",
47-
"variants": {
48-
"on": true,
49-
"off": false
50-
},
51-
"defaultVariant": "off"
52-
}
2+
"$schema": "https://flagd.dev/schema/v0/flags.json",
3+
"flags": {
4+
"productCatalogFailure": {
5+
"description": "Fail product catalog service on a specific product",
6+
"state": "ENABLED",
7+
"variants": {
8+
"on": true,
9+
"off": false
10+
},
11+
"defaultVariant": "off"
12+
},
13+
"recommendationServiceCacheFailure": {
14+
"description": "Fail recommendation service cache",
15+
"state": "ENABLED",
16+
"variants": {
17+
"on": true,
18+
"off": false
19+
},
20+
"defaultVariant": "off"
21+
},
22+
"adServiceFailure": {
23+
"description": "Fail ad service",
24+
"state": "ENABLED",
25+
"variants": {
26+
"on": true,
27+
"off": false
28+
},
29+
"defaultVariant": "off",
30+
"targeting": {
31+
"fractional": [
32+
{
33+
"var": "session"
34+
},
35+
[
36+
"on",
37+
10
38+
],
39+
[
40+
"off",
41+
90
42+
]
43+
]
44+
}
45+
},
46+
"cartServiceFailure": {
47+
"description": "Fail cart service",
48+
"state": "ENABLED",
49+
"variants": {
50+
"on": true,
51+
"off": false
52+
},
53+
"defaultVariant": "off"
5354
}
54-
}
55+
}
56+
}

src/grafana/provisioning/dashboards/demo/demo-dashboard.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1022,4 +1022,4 @@
10221022
"uid": "W2gX2zHVk",
10231023
"version": 1,
10241024
"weekStart": ""
1025-
}
1025+
}

src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3362,4 +3362,4 @@
33623362
"uid": "BKf2sowmj",
33633363
"version": 72,
33643364
"weekStart": ""
3365-
}
3365+
}

0 commit comments

Comments
 (0)