Okay, I thought `HealthCheckFailed` would mean the request did not succeed, so no answer at all. I will change that, thanks!



> On 26.04.2014, at 02:07, Connor Doyle <notifications@github.com> wrote:
> 
> In src/main/scala/mesosphere/marathon/health/HealthCheckWorkerActor.scala:
> 
> > @@ -32,11 +34,13 @@ class HealthCheckWorkerActor extends Actor with ActorLogging {
> >  
> >        replyWithHealth.onComplete {
> >          case Success(result) => replyTo ! result
> > -        case Failure(t) => replyTo ! Unhealthy(
> > -          task.getId,
> > -          Timestamp.now,
> > -          s"${t.getClass.getSimpleName}: ${t.getMessage}"
> > -        )
> > +        case Failure(t) =>
> > +          eventBus.foreach(_.post(FailedHealthCheck(appId, task.getId, check)))
> They are one and the same. The worker reports back to the health check actor with a HealthResult, which is either a Healthy or an Unhealthy.
> 
> —
> Reply to this email directly or view it on GitHub.