Skip to content

Commit 4c7cad3

Browse files
committed
untagged so it works on none
1 parent 0458330 commit 4c7cad3

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

common/src/snake_case_option_result.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use serde::Serialize;
1212
#[derive(Serialize, Deserialize)]
1313
#[serde(rename_all = "snake_case")]
1414
#[serde(rename = "OptionResult{T}Or{E}")]
15+
#[serde(untagged)]
1516
pub enum SnakeCaseOptionResult<T, E> {
1617
Some(SnakeCaseResult<T, E>),
1718
None,

sled-agent/src/sim/sled_agent.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ impl SledAgent {
169169
.start(&log, &config.dropshot);
170170

171171
// TODO-K: Uncomment and remove
172-
// let health_monitor = HealthMonitorHandle::stub();
173-
let health_monitor =
174-
crate::long_running_tasks::spawn_health_monitor_tasks(&log).await;
172+
let health_monitor = HealthMonitorHandle::stub();
173+
//let health_monitor =
174+
// crate::long_running_tasks::spawn_health_monitor_tasks(&log).await;
175175

176176
Arc::new(SledAgent {
177177
id,

0 commit comments

Comments
 (0)