gavinchou commented on code in PR #70006:
URL: https://github.com/apache/doris/pull/70006#discussion_r4509416910


##########
cloud/src/meta-service/meta_service_resource.cpp:
##########
@@ -435,7 +440,7 @@ static int update_instance_ak_sk(InstanceInfoPB& instance, 
const UpdateAkSkReque
         if (request->ram_user().user_id().empty() || 
request->ram_user().ak().empty() ||
             request->ram_user().sk().empty()) {
             code = MetaServiceCode::INVALID_ARGUMENT;
-            msg = "ram user info err " + proto_to_json(*request);
+            msg = "ram user info err " + request_to_json_for_log(*request);

Review Comment:
   we may not put the whole request in returned message



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to