JinyLeeChina commented on a change in pull request #5097:
URL: 
https://github.com/apache/incubator-dolphinscheduler/pull/5097#discussion_r597373669



##########
File path: 
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
##########
@@ -270,11 +270,19 @@
         IPage<ProcessDefinition> processDefinitionIPage = 
processDefinitionMapper.queryDefineListPaging(
                 page, searchVal, userId, project.getCode(), 
isAdmin(loginUser));
 
-        processDefinitionIPage.setRecords(processDefinitionIPage.getRecords());
+        List<ProcessDefinition> records = processDefinitionIPage.getRecords();
+
+        records.forEach(pd -> {

Review comment:
       There is no need to assemble processdefinitionjson for this interface 
because it cannot be used




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

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


Reply via email to