Skip to content

Commit 4b7a99b

Browse files
SAY-5morningman
authored andcommitted
[fix](cloud) fix 'sucess' -> 'success' typo in meta_service_http rate-limit response
HTTP response in cloud/src/meta-service/meta_service_http.cpp line 377 read 'sucess to adjust rate limit'. Fixed to 'success'. String-literal-only change. Signed-off-by: SAY-5 <SAY-5@users.noreply.github.com>
1 parent 4c421c0 commit 4b7a99b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloud/src/meta-service/meta_service_http.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ static HttpResponse process_adjust_rate_limit(MetaServiceImpl* service, brpc::Co
374374
"`qps_limit` should not be less than 0");
375375
}
376376
if (cb(qps_limit)) {
377-
return http_json_reply(MetaServiceCode::OK, "sucess to adjust rate limit");
377+
return http_json_reply(MetaServiceCode::OK, "success to adjust rate limit");
378378
}
379379
return http_json_reply(MetaServiceCode::INVALID_ARGUMENT,
380380
fmt::format("failed to adjust rate limit for qps_limit={}, "

0 commit comments

Comments
 (0)