Skip to content

Commit

Permalink
Merge branch 'main' into john/inventory-rot-cmpa-cfpa
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallagher committed Nov 21, 2023
2 parents 275fc70 + 15e307e commit d9889a9
Show file tree
Hide file tree
Showing 85 changed files with 3,206 additions and 1,281 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hakari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
toolchain: stable
- name: Install cargo-hakari
uses: taiki-e/install-action@ccc14bdc8d34cddf54e4f9fb2da0c208427207a3 # v2
uses: taiki-e/install-action@8f354f35e51028c902e8ab954045e37739acf562 # v2
with:
tool: cargo-hakari
- name: Check workspace-hack Cargo.toml is up-to-date
Expand Down
98 changes: 57 additions & 41 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ filetime = "0.2.22"
flate2 = "1.0.28"
flume = "0.11.0"
foreign-types = "0.3.2"
fs-err = "2.10.0"
fs-err = "2.11.0"
futures = "0.3.29"
gateway-client = { path = "clients/gateway-client" }
gateway-messages = { git = "https://github.com/oxidecomputer/management-gateway-service", rev = "2739c18e80697aa6bc235c935176d14b4d757ee9", default-features = false, features = ["std"] }
Expand Down Expand Up @@ -304,7 +304,7 @@ regex = "1.10.2"
regress = "0.7.1"
reqwest = { version = "0.11", default-features = false }
ring = "0.16"
rpassword = "7.2.0"
rpassword = "7.3.1"
rstest = "0.18.2"
rustfmt-wrapper = "0.2"
rustls = "0.21.9"
Expand Down Expand Up @@ -363,15 +363,15 @@ textwrap = "0.16.0"
test-strategy = "0.3.1"
thiserror = "1.0"
tofino = { git = "http://github.com/oxidecomputer/tofino", branch = "main" }
tokio = "1.33.0"
tokio = "1.34.0"
tokio-postgres = { version = "0.7", features = [ "with-chrono-0_4", "with-uuid-1" ] }
tokio-stream = "0.1.14"
tokio-tungstenite = "0.18"
tokio-util = "0.7.10"
tokio-util = { version = "0.7.10", features = ["io", "io-util"] }
toml = "0.8.8"
toml_edit = "0.21.0"
topological-sort = "0.2.2"
tough = { version = "0.14", features = [ "http" ] }
tough = { version = "0.15", features = [ "http" ] }
trust-dns-client = "0.22"
trust-dns-proto = "0.22"
trust-dns-resolver = "0.22"
Expand All @@ -382,7 +382,7 @@ tufaceous-lib = { path = "tufaceous-lib" }
unicode-width = "0.1.11"
update-engine = { path = "update-engine" }
usdt = "0.3"
uuid = { version = "1.5.0", features = ["serde", "v4"] }
uuid = { version = "1.6.1", features = ["serde", "v4"] }
walkdir = "2.4"
wicket = { path = "wicket" }
wicket-common = { path = "wicket-common" }
Expand Down
14 changes: 14 additions & 0 deletions clients/nexus-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,19 @@ impl From<&types::InstanceState>
}
}

impl From<omicron_common::api::internal::nexus::ProducerKind>
for types::ProducerKind
{
fn from(kind: omicron_common::api::internal::nexus::ProducerKind) -> Self {
use omicron_common::api::internal::nexus::ProducerKind;
match kind {
ProducerKind::SledAgent => Self::SledAgent,
ProducerKind::Service => Self::Service,
ProducerKind::Instance => Self::Instance,
}
}
}

impl From<&omicron_common::api::internal::nexus::ProducerEndpoint>
for types::ProducerEndpoint
{
Expand All @@ -212,6 +225,7 @@ impl From<&omicron_common::api::internal::nexus::ProducerEndpoint>
address: s.address.to_string(),
base_route: s.base_route.clone(),
id: s.id,
kind: s.kind.map(Into::into),
interval: s.interval.into(),
}
}
Expand Down
Loading

0 comments on commit d9889a9

Please sign in to comment.