mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Kill LivenessProbe.Type
This commit is contained in:
@@ -105,3 +105,7 @@ func (h *HTTPHealthChecker) HealthCheck(podFullName string, currentState api.Pod
|
||||
}
|
||||
return DoHTTPCheck(formatURL(host, port, path), h.client)
|
||||
}
|
||||
|
||||
func (h *HTTPHealthChecker) CanCheck(probe *api.LivenessProbe) bool {
|
||||
return probe.HTTPGet != nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user