Initialize values with properties vs value
resolves #SCT-587
This commit is contained in:
committed by
Michael Minella
parent
0af72e31ac
commit
7490f8b820
@@ -87,7 +87,7 @@ public class JobConfiguration {
|
||||
|
||||
List<String> commandLineArgs = new ArrayList<>(3);
|
||||
commandLineArgs.add("--spring.profiles.active=worker");
|
||||
commandLineArgs.add("--spring.cloud.task.initialize.enable=false");
|
||||
commandLineArgs.add("--spring.cloud.task.initialize-enabled=false");
|
||||
commandLineArgs.add("--spring.batch.initializer.enabled=false");
|
||||
partitionHandler
|
||||
.setCommandLineArgsProvider(new PassThroughCommandLineArgsProvider(commandLineArgs));
|
||||
|
||||
Reference in New Issue
Block a user