diff --git a/packages/cli/src/runners/task-runner-server.ts b/packages/cli/src/runners/task-runner-server.ts index 00a723934b..6277149cf7 100644 --- a/packages/cli/src/runners/task-runner-server.ts +++ b/packages/cli/src/runners/task-runner-server.ts @@ -164,8 +164,8 @@ export class TaskRunnerServer { send(async (req) => await this.taskRunnerAuthController.createGrantToken(req)), ); - const healthEndpoint = `${this.getEndpointBasePath()}/healthz`; - this.app.get(healthEndpoint, (_, res) => res.sendStatus(200)); + const healthCheckEndpoint = `${this.getEndpointBasePath()}/healthz`; + this.app.get(healthCheckEndpoint, (_, res) => res.sendStatus(200)); } private handleUpgradeRequest = (