Skip to content

Commit

Permalink
review changes part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoworko committed Dec 19, 2024
1 parent 84c28ec commit dbadf80
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -523,14 +523,14 @@ class DeploymentService(
case supported: StateQueryForAllScenariosSupported => Some(supported)
case NoStateQueryForAllScenariosSupport => None
}
} yield getProcessesStates(processingType, managerWithCapability))
} yield getAllProcessesStates(processingType, managerWithCapability))
.getOrElse(Future.successful(None))
}
}
.map(_.flatten.toMap)
}

private def getProcessesStates(processingType: ProcessingType, manager: StateQueryForAllScenariosSupported)(
private def getAllProcessesStates(processingType: ProcessingType, manager: StateQueryForAllScenariosSupported)(
implicit freshnessPolicy: DataFreshnessPolicy,
): Future[Option[(ProcessingType, WithDataFreshnessStatus[Map[ProcessName, List[StatusDetails]]])]] = {
manager
Expand Down

0 comments on commit dbadf80

Please sign in to comment.