You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/02/17 07:38:21 UTC

[dolphinscheduler] branch dev updated: fix relation unbinding bug (#8379)

This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new f9c090e  fix relation unbinding bug (#8379)
f9c090e is described below

commit f9c090e048250a6ec57719be9bc0f385d5b97f97
Author: JinYong Li <42...@users.noreply.github.com>
AuthorDate: Thu Feb 17 15:38:13 2022 +0800

    fix relation unbinding bug (#8379)
---
 .../api/service/impl/ProcessTaskRelationServiceImpl.java                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessTaskRelationServiceImpl.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessTaskRelationServiceImpl.java
index 5761584..27855ed 100644
--- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessTaskRelationServiceImpl.java
+++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessTaskRelationServiceImpl.java
@@ -214,7 +214,7 @@ public class ProcessTaskRelationServiceImpl extends BaseServiceImpl implements P
             return result;
         }
         List<Long> downstreamList = Lists.newArrayList();
-        for (ProcessTaskRelation processTaskRelation : processTaskRelationList) {
+        for (ProcessTaskRelation processTaskRelation : processTaskRelations) {
             if (processTaskRelation.getPreTaskCode() == taskCode) {
                 downstreamList.add(processTaskRelation.getPostTaskCode());
             }