You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/11/11 11:19:57 UTC

[GitHub] [dolphinscheduler] github-code-scanning[bot] commented on a diff in pull request #12871: [feat] Support set execute type to pydolphinscheduler

github-code-scanning[bot] commented on code in PR #12871:
URL: https://github.com/apache/dolphinscheduler/pull/12871#discussion_r1020128836


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/python/PythonGateway.java:
##########
@@ -258,13 +259,15 @@
~            // make sure process definition offline which could edit
~            processDefinitionService.releaseProcessDefinition(user, projectCode, processDefinitionCode,
                     ReleaseState.OFFLINE);
             Map<String, Object> result = processDefinitionService.updateProcessDefinition(user, projectCode, name,
                     processDefinitionCode, description, globalParams,
-                    null, timeout, tenantCode, taskRelationJson, taskDefinitionJson, otherParamsJson, executionType);
+                    null, timeout, tenantCode, taskRelationJson, taskDefinitionJson, otherParamsJson,
+                    executionTypeEnum);

Review Comment:
   ## Unread local variable
   
   Variable 'Map<String,Object> result' is never read.
   
   [Show more details](https://github.com/apache/dolphinscheduler/security/code-scanning/2272)



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

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