return false;
}
final Optional<SingularityDeploy> deploy = deployManager.getDeploy(requestId, activeDeployId);
final DeployHealth deployHealth = deployHealthHelper.getDeployHealth(deploy, matchingTasks, false);
switch (deployHealth) {
case HEALTHY:
LOG.debug("Killing a task {}, all replacement tasks are healthy", taskCleanup);
return true;