HexyinUESTC commented on code in PR #43038:
URL: https://github.com/apache/doris/pull/43038#discussion_r1825481203


##########
fe/fe-core/src/main/java/org/apache/doris/plugin/AuditEvent.java:
##########
@@ -272,8 +274,49 @@ public AuditEventBuilder 
setScanBytesFromRemoteStorage(long scanBytesFromRemoteS
             return this;
         }
 
+        public AuditEventBuilder setCommandType(String commandType) {
+            auditEvent.commandType = commandType;
+            return this;
+        }
+
         public AuditEvent build() {
-            return this.auditEvent;
+            AuditEvent copy = new AuditEvent();
+            copy.type = auditEvent.type;

Review Comment:
   Thank you for your correction



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to