mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
correct to handler
This commit is contained in:
parent
2a9c8df2ec
commit
799d0e5a6e
@ -1866,7 +1866,7 @@ func (kl *Kubelet) syncLoopIteration(configCh <-chan kubetypes.PodUpdate, handle
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
glog.V(4).Infof("SyncLoop (SYNC): %d pods; %s", len(podsToSync), format.Pods(podsToSync))
|
glog.V(4).Infof("SyncLoop (SYNC): %d pods; %s", len(podsToSync), format.Pods(podsToSync))
|
||||||
kl.HandlePodSyncs(podsToSync)
|
handler.HandlePodSyncs(podsToSync)
|
||||||
case update := <-kl.livenessManager.Updates():
|
case update := <-kl.livenessManager.Updates():
|
||||||
if update.Result == proberesults.Failure {
|
if update.Result == proberesults.Failure {
|
||||||
// The liveness manager detected a failure; sync the pod.
|
// The liveness manager detected a failure; sync the pod.
|
||||||
|
Loading…
Reference in New Issue
Block a user