Skip to content

Commit 6643bd4

Browse files
Fix observability.logs.persist being flagged as an unexpected field during the wrangler config file validation (#11019)
1 parent d39c8b5 commit 6643bd4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/common-beans-wink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Fix `observability.logs.persist` being flagged as an unexpected field during the wrangler config file validation

packages/wrangler/src/config/validation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4324,6 +4324,7 @@ const validateObservability: ValidatorFn = (diagnostics, field, value) => {
43244324
"head_sampling_rate",
43254325
"invocation_logs",
43264326
"destinations",
4327+
"persist",
43274328
]) && isValid;
43284329
}
43294330

0 commit comments

Comments
 (0)