Skip to content

Commit

Permalink
fixup usage of get_storage_handle
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Jun 1, 2021
1 parent 89bb48f commit e9f4045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async-raft/tests/metrics_state_machine_consistency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async fn metrics_state_machine_consistency() -> Result<()> {
)
.await;

let sto = router.get_sto(&node_id).await;
let sto = router.get_storage_handle(&node_id).await?;
assert!(sto.get_state_machine().await.client_status.get("foo").is_some());

}
Expand Down

0 comments on commit e9f4045

Please sign in to comment.