Skip to content

Commit

Permalink
Fixup after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
bnaecker committed Jul 16, 2024
1 parent 240083f commit 07ef168
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wicketd/src/http_entrypoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,15 +408,15 @@ impl WicketdApi for WicketdApiImpl {
Baseboard::new_gimlet(
state.serial_number.clone(),
state.model.clone(),
i64::from(state.revision),
state.revision,
)
});
} else if let (Some(sled_baseboard), Some(state)) =
(sled_baseboard.as_ref(), sp.state.as_ref())
{
if sled_baseboard.identifier() == state.serial_number
&& sled_baseboard.model() == state.model
&& sled_baseboard.revision() == i64::from(state.revision)
&& sled_baseboard.revision() == state.revision
{
sled_id = Some(sp.id);
}
Expand Down Expand Up @@ -531,7 +531,7 @@ impl WicketdApi for WicketdApiImpl {
Some(baseboard) => {
if baseboard.identifier() == sp_state.serial_number
&& baseboard.model() == sp_state.model
&& baseboard.revision() == i64::from(sp_state.revision)
&& baseboard.revision() == sp_state.revision
{
self_update = Some(*target);
continue;
Expand Down

0 comments on commit 07ef168

Please sign in to comment.