ruanwenjun commented on code in PR #14876:
URL: 
https://github.com/apache/dolphinscheduler/pull/14876#discussion_r1319272861


##########
dolphinscheduler-task-plugin/dolphinscheduler-task-shell/src/main/java/org/apache/dolphinscheduler/plugin/task/shell/ShellTask.java:
##########
@@ -81,7 +81,7 @@ public void init() {
     public void handle(TaskCallBack taskCallBack) throws TaskException {
         try {
             IShellInterceptorBuilder<?, ?> shellActuatorBuilder = 
ShellInterceptorBuilderFactory.newBuilder()
-                    
.properties(ParameterUtils.convert(shellParameters.getLocalParametersMap()))
+                    
.properties(ParameterUtils.convert(taskExecutionContext.getPrepareParamsMap()))

Review Comment:
   If so this PR LGTM, but the method is strange, I will guess if there exists 
a prepare parameter type.



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