Skip to content

Commit

Permalink
address PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: brunobat <[email protected]>
  • Loading branch information
brunobat committed Aug 31, 2022
1 parent 2f1df65 commit 97af404
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions specification/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ The SDK MUST interpret an empty value of an environment variable the same way as

### Boolean value

Any value that represents a boolean MUST only interpret the string `"true"` as meaning true.
An SDK MAY NOT extend this definition and define additional values that are interpreted as true.
Any value that represents a boolean MUST interpret only the case-insensitive string "true", meaning "True" or "TRUE" are also accepted as "true".
An SDK MUST NOT extend this definition and define additional values that are interpreted as true.
Any value not explicitly defined here or by the SDK as a true value, including unset and empty values, MUST be interpreted as false.
All boolean environment variables should be named such that false is the expected safe default behavior.
If any value other than a true value, `"false"`, empty, or unset is used, a warning SHOULD be logged to inform users about the fallback to false being applied.
All boolean environment variables SHOULD be named and defined such that false is the expected safe default behavior.

### Numeric value

Expand Down

0 comments on commit 97af404

Please sign in to comment.