Skip to content

Commit 7fb0bfd

Browse files
authored
Fix mtls remtote binding warning (#9988)
* Fix mtls warning * Create neat-penguins-brush.md
1 parent 90ddb7c commit 7fb0bfd

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.changeset/neat-penguins-brush.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+
Correctly label `mtls` remote bindings warning

packages/wrangler/src/dev/miniflare.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,11 @@ export function buildMiniflareBindingOptions(
833833

834834
if (bindings.mtls_certificates && remoteBindingsEnabled) {
835835
for (const mtls of bindings.mtls_certificates) {
836-
warnOrError("ai", mtls.experimental_remote, "always-remote");
836+
warnOrError(
837+
"mtls_certificates",
838+
mtls.experimental_remote,
839+
"always-remote"
840+
);
837841
}
838842
}
839843

0 commit comments

Comments
 (0)