mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Fix pod worker deadlock.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user