mirror of https://github.com/k3s-io/k3s
parent
f634f7dae4
commit
0f4c739b2c
|
@ -306,7 +306,7 @@ func killPodNow(podWorkers PodWorkers, recorder record.EventRecorder) eviction.K
|
|||
type response struct {
|
||||
err error
|
||||
}
|
||||
ch := make(chan response)
|
||||
ch := make(chan response, 1)
|
||||
podWorkers.UpdatePod(&UpdatePodOptions{
|
||||
Pod: pod,
|
||||
UpdateType: kubetypes.SyncPodKill,
|
||||
|
|
Loading…
Reference in New Issue