Skip to content

Commit

Permalink
fix: use client urls in lease server redirection
Browse files Browse the repository at this point in the history
Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
  • Loading branch information
bsbds committed Oct 8, 2024
1 parent 13b2171 commit d02eb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/xline/src/server/lease_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ impl Lease for LeaseServer {
return Err(tonic::Status::internal("Leader not exist"));
};
break self
.follower_keep_alive(request_stream, leader_meta.peer_urls())
.follower_keep_alive(request_stream, leader_meta.client_urls())
.await?;
}
};
Expand Down

0 comments on commit d02eb54

Please sign in to comment.