1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-13 13:40:22 +00:00

Get latest logline if healthcheck fails

This commit is contained in:
Sebastiaan van Steenis
2018-05-21 20:11:11 +02:00
committed by Alena Prokharchyk
parent 70fca52c33
commit aabce06714
3 changed files with 21 additions and 4 deletions

View File

@@ -431,7 +431,7 @@ func checkPlaneTCPPortsFromHost(ctx context.Context, host *hosts.Host, portList
return err
}
clogs, err := docker.ReadContainerLogs(ctx, host.DClient, PortCheckContainer)
clogs, err := docker.ReadContainerLogs(ctx, host.DClient, PortCheckContainer, true, "all")
if err != nil {
return err
}