Skip to content

Commit 4a88336

Browse files
committed
prefix amd to RUST_ENV var
1 parent 4c9c695 commit 4a88336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fn setup_tracing(env: &str, enable_libraries: bool) -> anyhow::Result<ReloadHand
140140
#[tokio::main]
141141
async fn main() -> Result<(), Error> {
142142
dotenv::dotenv().ok();
143-
let is_production = std::env::var("RUST_ENV").context("RUST_ENV was not found in the ENV")?;
143+
let is_production = std::env::var("AMD_RUST_ENV").context("RUST_ENV was not found in the ENV")?;
144144
let enable_debug_libraries_string = std::env::var("ENABLE_DEBUG_LIBRARIES")
145145
.context("ENABLE_DEBUG_LIBRARIES was not found in the ENV")?;
146146
let enable_debug_libraries: bool = enable_debug_libraries_string

0 commit comments

Comments
 (0)