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:
committed by
Alena Prokharchyk
parent
70fca52c33
commit
aabce06714
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user