Skip to content

Commit

Permalink
Update graph_check output: simplify messages, remove error details
Browse files Browse the repository at this point in the history
Signed-off-by: Shanicky Chen <[email protected]>
  • Loading branch information
shanicky committed Dec 11, 2024
1 parent 3c55bb9 commit 053019c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ctl/src/cmd_impl/meta/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ pub async fn graph_check(endpoint: String) -> anyhow::Result<()> {
let txn = conn.begin().await?;
match CatalogController::graph_check(&txn).await {
Ok(_) => {
println!("all integrity check passed!");
println!("integrity check passed!");
exit(0);
}
Err(e) => {
println!("integrity check failed! {:?}", e);
Err(_) => {
println!("integrity check failed!");
exit(1);
}
}
Expand Down

0 comments on commit 053019c

Please sign in to comment.