healchow commented on a change in pull request #2412:
URL: https://github.com/apache/incubator-inlong/pull/2412#discussion_r802261807



##########
File path: 
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/BusinessController.java
##########
@@ -86,7 +86,8 @@
     @OperationLog(operation = OperationType.DELETE)
     @ApiImplicitParam(name = "groupId", value = "Business group id", 
dataTypeClass = String.class, required = true)
     public Response<Boolean> delete(@PathVariable String groupId) {
-        return Response.success(businessService.delete(groupId, 
LoginUserUtil.getLoginUserDetail().getUserName()));
+        return Response.success(bizProcessOperation.deleteProcess(groupId, 

Review comment:
       It is recommended to distinguish between deleting data and deleting 
processes.




-- 
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]


Reply via email to