This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 018d8b13263 [fix](doc) spell errors fixes and align with code log for check-rpc-channel. (#28151) 018d8b13263 is described below commit 018d8b1326341be0f5ba613132a3a630a70ee53c Author: Nitin-Kashyap <66766227+nitin-kash...@users.noreply.github.com> AuthorDate: Sat Dec 30 19:56:56 2023 +0700 [fix](doc) spell errors fixes and align with code log for check-rpc-channel. (#28151) --- be/src/http/action/check_rpc_channel_action.cpp | 3 +-- docs/en/docs/admin-manual/http-actions/be/check-rpc-channel.md | 4 ++-- docs/zh-CN/docs/admin-manual/http-actions/be/check-rpc-channel.md | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/be/src/http/action/check_rpc_channel_action.cpp b/be/src/http/action/check_rpc_channel_action.cpp index 8a1e81e6c76..4949b21b8f5 100644 --- a/be/src/http/action/check_rpc_channel_action.cpp +++ b/be/src/http/action/check_rpc_channel_action.cpp @@ -97,8 +97,7 @@ void CheckRPCChannelAction::handle(HttpRequest* req) { return; } if (response.status().status_code() == 0) { - std::string err = - fmt::format("open brpc connection to {0}:{1} succcess.", req_ip, req_port); + std::string err = fmt::format("open brpc connection to {0}:{1} success.", req_ip, req_port); LOG(WARNING) << err; HttpChannel::send_reply(req, HttpStatus::OK, err); } else { diff --git a/docs/en/docs/admin-manual/http-actions/be/check-rpc-channel.md b/docs/en/docs/admin-manual/http-actions/be/check-rpc-channel.md index caed50e7692..15d4dca1c05 100644 --- a/docs/en/docs/admin-manual/http-actions/be/check-rpc-channel.md +++ b/docs/en/docs/admin-manual/http-actions/be/check-rpc-channel.md @@ -42,7 +42,7 @@ Check whether the connection cache is available * `remot_brpc_port` - Remot brpc port + Remote brpc port * `payload_size` @@ -58,7 +58,7 @@ None { "msg":"success", "code":0, - "data": "open brpc connection to {host_to_check}:{remot_brpc_port} succcess.", + "data": "open brpc connection to {host_to_check}:{remot_brpc_port} success.", "count":0 } ``` diff --git a/docs/zh-CN/docs/admin-manual/http-actions/be/check-rpc-channel.md b/docs/zh-CN/docs/admin-manual/http-actions/be/check-rpc-channel.md index 5a796a6a149..6203acc67ad 100644 --- a/docs/zh-CN/docs/admin-manual/http-actions/be/check-rpc-channel.md +++ b/docs/zh-CN/docs/admin-manual/http-actions/be/check-rpc-channel.md @@ -58,7 +58,7 @@ under the License. { "msg":"success", "code":0, - "data": "open brpc connection to {host_to_check}:{remot_brpc_port} succcess.", + "data": "open brpc connection to {host_to_check}:{remot_brpc_port} success.", "count":0 } ``` --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org