Skip to content

Commit

Permalink
[chore] jsonlint (open-telemetry#1454)
Browse files Browse the repository at this point in the history
Co-authored-by: Austin Parker <[email protected]>
  • Loading branch information
julianocosta89 and austinlparker authored Mar 14, 2024
1 parent 8605f61 commit 4862828
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 54 deletions.
106 changes: 54 additions & 52 deletions src/flagd/demo.flagd.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,56 @@
{
"$schema": "https://flagd.dev/schema/v0/flags.json",
"flags": {
"productCatalogFailure": {
"description": "Fail product catalog service on a specific product",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
"recommendationServiceCacheFailure": {
"description": "Fail recommendation service cache",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
"adServiceFailure": {
"description": "Fail ad service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off",
"targeting": {
"fractional": [
{ "var": "session" },
[
"on",
10
],
[
"off",
90
]
]
}
},
"cartServiceFailure": {
"description": "Fail cart service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
}
"$schema": "https://flagd.dev/schema/v0/flags.json",
"flags": {
"productCatalogFailure": {
"description": "Fail product catalog service on a specific product",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
"recommendationServiceCacheFailure": {
"description": "Fail recommendation service cache",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
},
"adServiceFailure": {
"description": "Fail ad service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off",
"targeting": {
"fractional": [
{
"var": "session"
},
[
"on",
10
],
[
"off",
90
]
]
}
},
"cartServiceFailure": {
"description": "Fail cart service",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1022,4 +1022,4 @@
"uid": "W2gX2zHVk",
"version": 1,
"weekStart": ""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3362,4 +3362,4 @@
"uid": "BKf2sowmj",
"version": 72,
"weekStart": ""
}
}

0 comments on commit 4862828

Please sign in to comment.