mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Update exec health check message logged
Update message logged after performing exec health check per #2708.
This commit is contained in:
parent
993ef88eec
commit
1c02137f48
@ -43,7 +43,7 @@ func (e *ExecHealthChecker) HealthCheck(podFullName, podUUID string, currentStat
|
||||
return Unknown, fmt.Errorf("missing exec parameters")
|
||||
}
|
||||
data, err := e.runner.RunInContainer(podFullName, podUUID, container.Name, container.LivenessProbe.Exec.Command)
|
||||
glog.V(1).Infof("container %s failed health check: %s", podFullName, string(data))
|
||||
glog.V(1).Infof("container %s health check response: %s", podFullName, string(data))
|
||||
if err != nil {
|
||||
return Unknown, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user