Browse Source

fix time cover

pull/3/MERGE
CalvinKirs 4 years ago
parent
commit
54ae6437bb
  1. 3
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/shell/ShellTask.java

3
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/shell/ShellTask.java

@ -150,9 +150,8 @@ public class ShellTask extends AbstractTask {
p.setProp(Constants.PARAMETER_DATETIME);
paramsMap.put(Constants.PARAMETER_DATETIME, p);
}
if (null != paramsMap) {
script = ParameterUtils.convertParameterPlaceholders(script, ParamUtils.convert(paramsMap));
}
shellParameters.setRawScript(script);

Loading…
Cancel
Save