Skip to content

Commit

Permalink
fix(bolt): update opengb -> backend env var name (#1058)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed Aug 16, 2024
1 parent c3d7c96 commit 4250808
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 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.

2 changes: 1 addition & 1 deletion svc/api/games/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use api_helper::start;

fn main() {
start(api_servers::route::handle);
start(api_games::route::handle);
}

0 comments on commit 4250808

Please sign in to comment.