Updated TaskJobCommandLineRunner to use update batch param cleanup

This commit is contained in:
Glenn Renfro
2021-12-14 11:48:24 -05:00
parent 260a684d38
commit d8ef256b0c
12 changed files with 14 additions and 14 deletions

View File

@@ -214,11 +214,11 @@ public class TaskJobLauncherCommandLineRunner extends JobLauncherCommandLineRunn
for (Map.Entry<String, JobParameter> parameter : copy.entrySet()) {
if (!parameter.getValue().isIdentifying()) {
parameterMap.remove(parameter.getKey());
copy.put(parameter.getKey(), parameter.getValue());
}
}
return new JobParameters(parameterMap);
return new JobParameters(copy);
}
private boolean isStoppedOrFailed(JobExecution execution) {