Skip to content

Commit

Permalink
fixup - rebased, fix type in test
Browse files Browse the repository at this point in the history
  • Loading branch information
lif committed Feb 2, 2024
1 parent b59dace commit 7693545
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sled-agent/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1273,12 +1273,13 @@ mod tests {
use internal_dns::resolver::Resolver;
use internal_dns::ServiceName;
use omicron_common::api::external::{
ByteCount, Generation, InstanceCpuCount, InstanceState,
ByteCount, Generation, Hostname, InstanceCpuCount, InstanceState,
};
use omicron_common::api::internal::nexus::InstanceProperties;
use sled_storage::disk::{RawDisk, SyntheticDisk};
use sled_storage::manager::FakeStorageManager;
use std::net::Ipv6Addr;
use std::str::FromStr;
use tokio::sync::watch::Receiver;
use tokio::time::timeout;

Expand Down Expand Up @@ -1474,7 +1475,7 @@ mod tests {
properties: InstanceProperties {
ncpus: InstanceCpuCount(1),
memory: ByteCount::from_gibibytes_u32(1),
hostname: "bert".to_string(),
hostname: Hostname::from_str("bert").unwrap(),
},
nics: vec![],
source_nat: SourceNatConfig {
Expand Down

0 comments on commit 7693545

Please sign in to comment.