} else {
context.render(result);
}
} else {
SortedMap<String, HealthCheck.Result> healthCheckResults = registry.runHealthChecks();
HealthCheckResults wrappedHealthCheckResults = new DefaultHealthCheckResults(healthCheckResults);
context.render(wrappedHealthCheckResults);
}
}