Skip to content

Commit

Permalink
fix(bolt): update opengb -> backend env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Aug 13, 2024
1 parent c7826c5 commit 66a8a6c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions fern/definition/cloud/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ types:
main: string
cdn: string
job: string
# TODO: This is the legacy name, but changing this MIGHT break CLI 1.0
# clients. Need to check this.
opengb: optional<string>

BootstrapOrigins:
Expand Down
2 changes: 1 addition & 1 deletion lib/bolt/core/src/context/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ impl ServiceContextData {
let opengb_output = terraform::output::read_opengb(&project_ctx).await;

env.insert(
"CLOUDFLARE_OPENGB_DISPATCHER_NAMESPACE".into(),
"CLOUDFLARE_BACKEND_DISPATCHER_NAMESPACE".into(),
opengb_output.dispatcher_namespace_name.to_string(),
);
}
Expand Down
4 changes: 2 additions & 2 deletions sdks/full/typescript/archive.tgz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdks/runtime/typescript/archive.tgz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 66a8a6c

Please sign in to comment.