You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "healchow (via GitHub)" <gi...@apache.org> on 2023/03/14 10:54:50 UTC

[GitHub] [inlong] healchow commented on a diff in pull request #7596: [INLONG-7593][Manager] Fix unable to delete group

healchow commented on code in PR #7596:
URL: https://github.com/apache/inlong/pull/7596#discussion_r1135359480


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/listener/sink/SinkResourceListener.java:
##########
@@ -67,7 +68,22 @@ public ListenerResult listen(WorkflowContext context) {
         GroupResourceProcessForm form = (GroupResourceProcessForm) context.getProcessForm();
         String groupId = form.getInlongGroupId();
         log.info("begin to create sink resources for groupId={}", groupId);
-        groupService.updateStatus(groupId, GroupStatus.CONFIG_ING.getCode(), context.getOperator());
+        GroupOperateType operateType = form.getGroupOperateType();
+        String operator = context.getOperator();
+        switch (operateType) {

Review Comment:
   After updating the StreamSink, it should only change the status of InlongStream.



-- 
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-unsubscribe@inlong.apache.org

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