mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
rename api.LivenessProbe to api.Probe and break out Actions
This commit is contained in:
@@ -38,7 +38,7 @@ var (
|
||||
tcprober = tcprobe.New()
|
||||
)
|
||||
|
||||
func (kl *Kubelet) probeContainer(p *api.LivenessProbe, podFullName string, podUID types.UID, status api.PodStatus, container api.Container) (probe.Status, error) {
|
||||
func (kl *Kubelet) probeContainer(p *api.Probe, podFullName string, podUID types.UID, status api.PodStatus, container api.Container) (probe.Status, error) {
|
||||
if p.Exec != nil {
|
||||
return execprober.Probe(kl.newExecInContainer(podFullName, podUID, container))
|
||||
}
|
||||
|
Reference in New Issue
Block a user