Skip to content

Commit

Permalink
UPSTREAM: <carry>: kubelet: fix readiness probes with pod termination
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Apr 11, 2023
1 parent f35dc8e commit cc589cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/kubelet/status/fake_status_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ func (m *fakeManager) SetPodStatus(pod *v1.Pod, status v1.PodStatus) {
return
}

func (m *fakeManager) SetContainerReadiness(podUID types.UID, containerID kubecontainer.ContainerID, ready bool) {
func (m *fakeManager) SetContainerReadiness(pod *v1.Pod, containerID kubecontainer.ContainerID, ready bool) {
klog.InfoS("SetContainerReadiness()")
return
}

func (m *fakeManager) SetContainerStartup(podUID types.UID, containerID kubecontainer.ContainerID, started bool) {
func (m *fakeManager) SetContainerStartup(pod *v1.Pod, containerID kubecontainer.ContainerID, started bool) {
klog.InfoS("SetContainerStartup()")
return
}
Expand Down

0 comments on commit cc589cb

Please sign in to comment.