Needed to update property name for job names.

it is singular now for Boot 3.x.
This commit is contained in:
Glenn Renfro
2023-03-20 10:52:32 -04:00
parent f7d52e6f12
commit afc1b2ea9e

View File

@@ -33,7 +33,7 @@ public class TaskBatchProperties {
/**
* Comma-separated list of job names to execute on startup (for instance,
* `job1,job2`). By default, all Jobs found in the context are executed.
* @deprecated use spring.batch.job.names instead of spring.cloud.task.batch.jobNames.
* @deprecated use spring.batch.job.name instead of spring.cloud.task.batch.jobNames.
*/
private String jobNames = "";