Skip to content

Commit

Permalink
Fixed lint (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu authored May 3, 2024
1 parent 30d2601 commit 2b5f1a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/state/grpc_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ impl RaftApi for RaftGrpcServer {
.await
.map_err(|e| GrpcHelper::internal_err(e.to_string()))?;
let forwarding_req = GrpcHelper::encode_raft_request(&StateMachineUpdateRequest {
payload: requests::RequestPayload::JoinCluster {
payload: RequestPayload::JoinCluster {
node_id,
address,
coordinator_addr,
Expand Down
2 changes: 1 addition & 1 deletion src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl App {
addr.to_string(),
server_config.coordinator_addr.clone(),
));
let (leader_change_tx, leader_change_rx) = tokio::sync::watch::channel::<bool>(false);
let (leader_change_tx, leader_change_rx) = watch::channel::<bool>(false);

let metrics = Metrics::new(state_machine.clone());

Expand Down

0 comments on commit 2b5f1a7

Please sign in to comment.