Skip to content

Commit

Permalink
fix: "if" json schema description (#126)
Browse files Browse the repository at this point in the history
see title

Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
toddbaert authored Jan 17, 2024
1 parent 4c54083 commit eee6a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion json/targeting.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"properties": {
"if": {
"title": "If Operator",
"description": "The if statement takes 3 arguments: a condition (if), what to do if its true (then), and what to do if its false (else, optional). Note that the form accepting more than 3 arguments (if/else) is not supported in flagd; use nesting instead.",
"description": "The if statement takes 2-3 arguments: a condition (if), what to do if its true (then), and what to do if its false (else, optional). Note that the form accepting more than 3 arguments (if/else) is not supported in flagd; use nesting instead.",
"$ref": "#/$defs/binaryOrTernaryOp"
},
"substr": {
Expand Down
2 changes: 1 addition & 1 deletion json/targeting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ type: object
properties:
if:
title: If Operator
description: 'The if statement takes 3 arguments: a condition (if), what to
description: 'The if statement takes 2-3 arguments: a condition (if), what to
do if its true (then), and what to do if its false (else, optional). Note that the
form accepting more than 3 arguments (if/else) is not supported in flagd;
use nesting instead.'
Expand Down

0 comments on commit eee6a28

Please sign in to comment.