Skip to content

Commit

Permalink
fix(IDX): read hostos URL directly (#2779)
Browse files Browse the repository at this point in the history
This fixes a hostos image lookup function. The function previously tried
to read the URL as a local (run)file.
  • Loading branch information
nmattia authored Nov 22, 2024
1 parent fbbb395 commit 1232c0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rs/tests/driver/src/driver/test_env_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1223,8 +1223,7 @@ pub fn get_mainnet_ic_os_update_img_url() -> Result<Url> {
}

pub fn get_hostos_update_img_test_url() -> Result<Url> {
let url =
read_dependency_from_env_to_string("ENV_DEPS__DEV_HOSTOS_UPDATE_IMG_TEST_TAR_ZST_CAS_URL")?;
let url = std::env::var("ENV_DEPS__DEV_HOSTOS_UPDATE_IMG_TEST_TAR_ZST_CAS_URL")?;
Ok(Url::parse(&url)?)
}

Expand Down

0 comments on commit 1232c0e

Please sign in to comment.