From 892a90cc999d104ae6342a06222bd959b0736cab Mon Sep 17 00:00:00 2001 From: JoannaaKL Date: Tue, 6 Sep 2022 09:22:12 +0000 Subject: [PATCH] Removed the exception thrown if the service container was not healthy --- src/Runner.Worker/ContainerOperationProvider.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Runner.Worker/ContainerOperationProvider.cs b/src/Runner.Worker/ContainerOperationProvider.cs index 5a0630e9f..21c82fcfd 100644 --- a/src/Runner.Worker/ContainerOperationProvider.cs +++ b/src/Runner.Worker/ContainerOperationProvider.cs @@ -429,7 +429,6 @@ namespace GitHub.Runner.Worker List dockerLogs = await _dockerManager.DockerInspectLogs(context: executionContext, dockerContainerId: container.ContainerId); dockerLogs.ForEach(log => executionContext.Output(log)); executionContext.Output("##[endgroup]"); - throw new InvalidOperationException($"Failed to initialize, {container.ContainerNetworkAlias} service is {serviceHealth}."); } }