Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
9ca42278
Commit
9ca42278
authored
Jul 09, 2018
by
Lantao Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pod worker deadlock.
Signed-off-by:
Lantao Liu
<
lantaol@google.com
>
parent
68bea2f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pod_workers.go
pkg/kubelet/pod_workers.go
+1
-1
No files found.
pkg/kubelet/pod_workers.go
View file @
9ca42278
...
@@ -306,7 +306,7 @@ func killPodNow(podWorkers PodWorkers, recorder record.EventRecorder) eviction.K
...
@@ -306,7 +306,7 @@ func killPodNow(podWorkers PodWorkers, recorder record.EventRecorder) eviction.K
type
response
struct
{
type
response
struct
{
err
error
err
error
}
}
ch
:=
make
(
chan
response
)
ch
:=
make
(
chan
response
,
1
)
podWorkers
.
UpdatePod
(
&
UpdatePodOptions
{
podWorkers
.
UpdatePod
(
&
UpdatePodOptions
{
Pod
:
pod
,
Pod
:
pod
,
UpdateType
:
kubetypes
.
SyncPodKill
,
UpdateType
:
kubetypes
.
SyncPodKill
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment