Skip to content

Commit

Permalink
let auto forward mode get result_code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhizhixu committed Mar 27, 2024
1 parent 66fda3c commit 383487e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handle_user_cmd.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ void raft_server::auto_fwd_resp_handler( ptr<cmd_result<ptr<buffer>>> presult,
resp_ctx = resp->get_ctx();
presult->accept();
}
presult->set_result_code(resp->get_result_code());
}

presult->set_result(resp_ctx, perr);
auto_fwd_release_rpc_cli(cur_pkg, rpc_cli);
}
Expand Down

0 comments on commit 383487e

Please sign in to comment.