Skip to content

Commit

Permalink
Add clippy failure
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrubek committed Sep 27, 2022
1 parent 352c7f9 commit b395ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/raft/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ impl ConsensusClient {
let url = node.address.clone();
let endpoint =
Endpoint::from_shared(url).expect("failed to create endpoint");
let clients = NodeClients::from_endpoint(endpoint).await?;
let clients = NodeClients::from_endpoint(endpoint.into()).await?;

*t = (id, clients);

Expand Down

0 comments on commit b395ff9

Please sign in to comment.