Commit a273571
authored
Actually allow disabling Datadog (#5493)
It is impossible to disable Datadog because we don't coerce the
environment variable that toggles Datadog to boolean. This change
coerces the value into a Boolean.
This bug has led to a lot of log noise in environments where Datadog is
disabled because of the server attempting to connect to a Datadog
instances that do not exist.
"false" is true. And `nil` is short-circuited by the OR operator.1 parent d9fb1bd commit a273571
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments