Skip to content

Commit

Permalink
fix failing builds
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjstone committed Oct 17, 2023
1 parent 1dd0dc1 commit 08dc4c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sled-agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ reqwest = { workspace = true, features = ["rustls-tls", "stream"] }
schemars = { workspace = true, features = [ "chrono", "uuid1" ] }
semver.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_json = {workspace = true, features = ["raw_value"]}
sha3.workspace = true
sled-agent-client.workspace = true
sled-hardware.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions wicketd/src/rss_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ impl From<&'_ CurrentRssConfig> for CurrentRssUserConfig {

fn validate_rack_network_config(
config: &RackNetworkConfig,
) -> Result<bootstrap_agent_client::types::RackNetworkConfig> {
) -> Result<bootstrap_agent_client::types::RackNetworkConfigV1> {
use bootstrap_agent_client::types::BgpConfig as BaBgpConfig;
use bootstrap_agent_client::types::BgpPeerConfig as BaBgpPeerConfig;
use bootstrap_agent_client::types::PortConfigV1 as BaPortConfigV1;
Expand Down Expand Up @@ -496,7 +496,7 @@ fn validate_rack_network_config(
}
// TODO Add more client side checks on `rack_network_config` contents?

Ok(bootstrap_agent_client::types::RackNetworkConfig {
Ok(bootstrap_agent_client::types::RackNetworkConfigV1 {
rack_subnet: config.rack_subnet,
infra_ip_first: config.infra_ip_first,
infra_ip_last: config.infra_ip_last,
Expand Down

0 comments on commit 08dc4c3

Please sign in to comment.