.map(taskInfoOptional -> taskInfoOptional.get())
.collect(Collectors.toList());
try {
Status status = taskInfos.isEmpty() ? Status.PENDING : getStatus(podInstance, taskInfos);
String stepName = TaskUtils.getStepName(podInstance, tasksToLaunch);
<BUG>return new DefaultStep(
</BUG>
stepName,
status,
PodInstanceRequirement.create(podInstance, tasksToLaunch),

.map(taskInfoOptional -> taskInfoOptional.get())
.collect(Collectors.toList());
try {
Status status = taskInfos.isEmpty() ? Status.PENDING : getStatus(podInstance, taskInfos);
String stepName = TaskUtils.getStepName(podInstance, tasksToLaunch);
return new DeploymentStep(
stepName,
status,
PodInstanceRequirement.create(podInstance, tasksToLaunch),
