From 5b26a1e1ae2d7e7d2c93d708ee847b7faba3f8a2 Mon Sep 17 00:00:00 2001 From: JoannaaKL Date: Thu, 15 Sep 2022 09:31:09 +0200 Subject: [PATCH] Update src/Runner.Worker/ContainerOperationProvider.cs Co-authored-by: Tingluo Huang --- src/Runner.Worker/ContainerOperationProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Worker/ContainerOperationProvider.cs b/src/Runner.Worker/ContainerOperationProvider.cs index b23ae3886..29ac5177f 100644 --- a/src/Runner.Worker/ContainerOperationProvider.cs +++ b/src/Runner.Worker/ContainerOperationProvider.cs @@ -428,7 +428,7 @@ namespace GitHub.Runner.Worker } } - private async Task Healthcheck(IExecutionContext executionContext, ContainerInfo container) + private async Task ContainerHealthcheck(IExecutionContext executionContext, ContainerInfo container) { string healthCheck = "--format=\"{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}\""; string serviceHealth = (await _dockerManager.DockerInspect(context: executionContext, dockerObject: container.ContainerId, options: healthCheck)).FirstOrDefault();