mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 14:45:28 +00:00
remove pkg/health and move everything over to pkg/probe
This commit is contained in:
@@ -32,7 +32,7 @@ import (
|
||||
"github.com/golang/glog"
|
||||
)
|
||||
|
||||
func (kl *Kubelet) makeLivenessProbeRunner(p *api.LivenessProbe, podFullName string, podUID types.UID, status api.PodStatus, container api.Container) (probe.Status, error) {
|
||||
func (kl *Kubelet) probeContainer(p *api.LivenessProbe, podFullName string, podUID types.UID, status api.PodStatus, container api.Container) (probe.Status, error) {
|
||||
if p.Exec != nil {
|
||||
return execprobe.Probe(kl.newExecInContainer(podFullName, podUID, container))
|
||||
}
|
||||
|
Reference in New Issue
Block a user