Skip to content

Commit

Permalink
cli/cluster members: send success reponse to close admin conn properly
Browse files Browse the repository at this point in the history
otherwise admin command `corrosion cluster members` never finishes

Signed-off-by: runsisi <[email protected]>
  • Loading branch information
runsisi authored and jeromegn committed Jul 30, 2024
1 parent 8f8e552 commit e50b925
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/corro-admin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ async fn handle_conn(
for value in values {
send(&mut stream, Response::Json(value)).await;
}
send_success(&mut stream).await;
}
Command::Cluster(ClusterCommand::MembershipStates) => {
info_log(&mut stream, "gathering membership state").await;
Expand Down

0 comments on commit e50b925

Please sign in to comment.