From 2c4dac9ff524d5a9115806cb105a050bf411ffc9 Mon Sep 17 00:00:00 2001 From: Juliano Costa Date: Wed, 13 Mar 2024 12:59:08 +0100 Subject: [PATCH] [chore] jsonlint --- src/flagd/demo.flagd.json | 106 +++++++++--------- .../dashboards/demo/demo-dashboard.json | 2 +- .../demo/opentelemetry-collector.json | 2 +- 3 files changed, 56 insertions(+), 54 deletions(-) diff --git a/src/flagd/demo.flagd.json b/src/flagd/demo.flagd.json index 6553cfef18..fadf02425a 100644 --- a/src/flagd/demo.flagd.json +++ b/src/flagd/demo.flagd.json @@ -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" } - } \ No newline at end of file + } +} diff --git a/src/grafana/provisioning/dashboards/demo/demo-dashboard.json b/src/grafana/provisioning/dashboards/demo/demo-dashboard.json index 8fc0d74773..6698b10c2b 100644 --- a/src/grafana/provisioning/dashboards/demo/demo-dashboard.json +++ b/src/grafana/provisioning/dashboards/demo/demo-dashboard.json @@ -1022,4 +1022,4 @@ "uid": "W2gX2zHVk", "version": 1, "weekStart": "" -} \ No newline at end of file +} diff --git a/src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json b/src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json index 654a69a582..b437e19287 100644 --- a/src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json +++ b/src/grafana/provisioning/dashboards/demo/opentelemetry-collector.json @@ -3362,4 +3362,4 @@ "uid": "BKf2sowmj", "version": 72, "weekStart": "" -} \ No newline at end of file +}