Skip to content

Commit e562f56

Browse files
committed
leave the old maghemite
1 parent 7dd4671 commit e562f56

File tree

4 files changed

+35
-32
lines changed

4 files changed

+35
-32
lines changed

Cargo.lock

Lines changed: 29 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,10 +426,8 @@ macaddr = { version = "1.0.1", features = ["serde_std"] }
426426
maplit = "1.0.2"
427427
mockall = "0.13"
428428
newtype_derive = "0.1.6"
429-
# mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "9e0fe45ca3862176dc31ad8cc83f605f8a7e1a42" }
430-
# ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "9e0fe45ca3862176dc31ad8cc83f605f8a7e1a42" }
431-
mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", branch = "hyper-v1" }
432-
ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", branch = "hyper-v1" }
429+
mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "9e0fe45ca3862176dc31ad8cc83f605f8a7e1a42" }
430+
ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "9e0fe45ca3862176dc31ad8cc83f605f8a7e1a42" }
433431
multimap = "0.10.0"
434432
nexus-auth = { path = "nexus/auth" }
435433
nexus-client = { path = "clients/nexus-client" }
@@ -536,6 +534,7 @@ ref-cast = "1.0"
536534
regex = "1.10.6"
537535
regress = "0.9.1"
538536
reqwest = { version = "0.12", default-features = false }
537+
reqwest11 = { package = "reqwest", version = "0.11", default-features = false }
539538
ring = "0.17.8"
540539
rpassword = "7.3.1"
541540
rstest = "0.22.0"

clients/ddm-admin-client/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ workspace = true
1111
either.workspace = true
1212
progenitor-client.workspace = true
1313
reqwest = { workspace = true, features = ["json", "stream", "rustls-tls"] }
14+
reqwest11 = { workspace = true, features = ["json", "stream", "rustls-tls"] }
1415
serde.workspace = true
1516
slog.workspace = true
1617
thiserror.workspace = true

clients/ddm-admin-client/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const DDMD_PORT: u16 = 8000;
3838
#[derive(Debug, Error)]
3939
pub enum DdmError {
4040
#[error("Failed to construct an HTTP client: {0}")]
41-
HttpClient(#[from] reqwest::Error),
41+
HttpClient(#[from] reqwest11::Error),
4242

4343
#[error("Failed making HTTP request to ddmd: {0}")]
4444
DdmdApi(#[from] Error<types::Error>),
@@ -64,7 +64,7 @@ impl Client {
6464
let log =
6565
log.new(slog::o!("DdmAdminClient" => SocketAddr::V6(ddmd_addr)));
6666

67-
let inner = reqwest::ClientBuilder::new()
67+
let inner = reqwest11::ClientBuilder::new()
6868
.connect_timeout(dur)
6969
.timeout(dur)
7070
.build()?;

0 commit comments

Comments
 (0)