mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Fix comment typo probeContainerReadiness
This commit is contained in:
parent
4659a12d6b
commit
de87048def
@ -85,7 +85,7 @@ func (kl *Kubelet) probeContainerLiveness(pod *api.Pod, status api.PodStatus, co
|
|||||||
return kl.runProbeWithRetries(p, pod, status, container, maxProbeRetries)
|
return kl.runProbeWithRetries(p, pod, status, container, maxProbeRetries)
|
||||||
}
|
}
|
||||||
|
|
||||||
// probeContainerLiveness probes the readiness of a container.
|
// probeContainerReadiness probes the readiness of a container.
|
||||||
// If the initial delay on the readiness probe has not passed the probe will return probe.Failure.
|
// If the initial delay on the readiness probe has not passed the probe will return probe.Failure.
|
||||||
func (kl *Kubelet) probeContainerReadiness(pod *api.Pod, status api.PodStatus, container api.Container, createdAt int64) (probe.Result, error) {
|
func (kl *Kubelet) probeContainerReadiness(pod *api.Pod, status api.PodStatus, container api.Container, createdAt int64) (probe.Result, error) {
|
||||||
p := container.ReadinessProbe
|
p := container.ReadinessProbe
|
||||||
|
Loading…
Reference in New Issue
Block a user