mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Removed the exception thrown if the service container was not healthy
This commit is contained in:
@@ -429,7 +429,6 @@ namespace GitHub.Runner.Worker
|
|||||||
List<string> dockerLogs = await _dockerManager.DockerInspectLogs(context: executionContext, dockerContainerId: container.ContainerId);
|
List<string> dockerLogs = await _dockerManager.DockerInspectLogs(context: executionContext, dockerContainerId: container.ContainerId);
|
||||||
dockerLogs.ForEach(log => executionContext.Output(log));
|
dockerLogs.ForEach(log => executionContext.Output(log));
|
||||||
executionContext.Output("##[endgroup]");
|
executionContext.Output("##[endgroup]");
|
||||||
throw new InvalidOperationException($"Failed to initialize, {container.ContainerNetworkAlias} service is {serviceHealth}.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user