Skip to content

Commit 59490f3

Browse files
authored
fix ci error
1 parent 29e31d8 commit 59490f3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/expand/CuringGlobalParams.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ public Map<String, Property> paramParsingPreparation(@NonNull TaskInstance taskI
158158
Map<String, String> cmdParam = JSONUtils.toMap(processInstance.getCommandParam());
159159
String timeZone = cmdParam.get(Constants.SCHEDULE_TIMEZONE);
160160

161-
if (MapUtils.isEmpty(globalParams) && MapUtils.isEmpty(localParams) && MapUtils.isEmpty(varParams)) {
162-
return null;
163-
}
164-
165161
// built-in params
166162
Map<String, String> params = setBuiltInParamsMap(taskInstance, timeZone);
167163

@@ -214,8 +210,7 @@ public Map<String, Property> paramParsingPreparation(@NonNull TaskInstance taskI
214210
* @param taskInstance
215211
* @param timeZone
216212
*/
217-
private Map<String, String> setBuiltInParamsMap(@NonNull TaskInstance taskInstance,
218-
@NonNull String timeZone) {
213+
private Map<String, String> setBuiltInParamsMap(@NonNull TaskInstance taskInstance, String timeZone) {
219214
CommandType commandType = taskInstance.getProcessInstance().getCmdTypeIfComplement();
220215
Date scheduleTime = taskInstance.getProcessInstance().getScheduleTime();
221216

0 commit comments

Comments
 (0)