Skip to content

Commit 66b9161

Browse files
authored
Remove environment as required so that env vars can be source of truth. (#19)
1 parent 0ab9bea commit 66b9161

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

engine/config/1.0/example.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ storage:
152152

153153

154154
telemetry:
155-
environment: ${env:TELEMETRY_ENVIRONMENT}
156155
logging:
157156
# debug, info, warn, error
158157
level: ${env:TELEMETRY_LOGGING_LEVEL}

engine/config/1.0/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@
528528
"properties": {
529529
"environment": {
530530
"type": "string",
531-
"description": "The environment the Arcade Engine is running in."
531+
"description": "The environment the Arcade Engine is running in; overrides the environment variables."
532532
},
533533
"logging": {
534534
"type": "object",
@@ -548,7 +548,7 @@
548548
"additionalProperties": false
549549
}
550550
},
551-
"required": ["environment", "logging"],
551+
"required": ["logging"],
552552
"additionalProperties": true
553553
},
554554
"tools": {

0 commit comments

Comments
 (0)