diff --git a/worker/README.md b/worker/README.md index 207f238..9a1f174 100644 --- a/worker/README.md +++ b/worker/README.md @@ -333,4 +333,4 @@ func main() { } ``` -This probe is successful if all the executions status of the [WorkerPool](pool.go) are not in `error`. +This probe is successful if all the executions statuses of the [WorkerPool](pool.go) are healthy. diff --git a/worker/healthcheck/probe.go b/worker/healthcheck/probe.go index 56d309a..8c1ced1 100644 --- a/worker/healthcheck/probe.go +++ b/worker/healthcheck/probe.go @@ -40,7 +40,7 @@ func (p *WorkerProbe) SetName(name string) *WorkerProbe { return p } -// Check returns a successful [healthcheck.CheckerProbeResult] if the worker pool executions are all in running status. +// Check returns a successful [healthcheck.CheckerProbeResult] if the worker pool executions are all in healthy status. func (p *WorkerProbe) Check(ctx context.Context) *healthcheck.CheckerProbeResult { success := true messages := []string{}