diff options
author | Håkon Hallingstad <hakon@yahooinc.com> | 2023-08-02 12:23:15 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahooinc.com> | 2023-08-02 12:23:15 +0200 |
commit | 697a8647a79b9a8038217801cebb3b336d4a278a (patch) | |
tree | 952472490d02beb1098a17119269c53ab39495c6 /controller-api/src/test/resources/system-flags-with-null-value/flags/my-test-flag/main.prod.us-east-3.json | |
parent | 0adede88d0aa7bbb7280a5c26a5279fc08246652 (diff) |
Treat null value on rule like comment
Diffstat (limited to 'controller-api/src/test/resources/system-flags-with-null-value/flags/my-test-flag/main.prod.us-east-3.json')
-rw-r--r-- | controller-api/src/test/resources/system-flags-with-null-value/flags/my-test-flag/main.prod.us-east-3.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/controller-api/src/test/resources/system-flags-with-null-value/flags/my-test-flag/main.prod.us-east-3.json b/controller-api/src/test/resources/system-flags-with-null-value/flags/my-test-flag/main.prod.us-east-3.json new file mode 100644 index 00000000000..b79e0913c22 --- /dev/null +++ b/controller-api/src/test/resources/system-flags-with-null-value/flags/my-test-flag/main.prod.us-east-3.json @@ -0,0 +1,24 @@ +{ + "id" : "my-test-flag", + "rules" : [ + { + "conditions": [ + { + "type": "whitelist", + "dimension": "application", + "values": ["a:b:c"] + } + ] + }, + { + "conditions": [ + { + "type": "whitelist", + "dimension": "hostname", + "values": ["foo.com"] + } + ], + "value" : true + } + ] +} |