Handle SIGKILL'ed shim while daemon is running
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
@@ -15,13 +15,15 @@ import (
|
||||
|
||||
type Task struct {
|
||||
id string
|
||||
pid int
|
||||
shim *client.Client
|
||||
namespace string
|
||||
}
|
||||
|
||||
func newTask(id, namespace string, shim *client.Client) *Task {
|
||||
func newTask(id, namespace string, pid int, shim *client.Client) *Task {
|
||||
return &Task{
|
||||
id: id,
|
||||
pid: pid,
|
||||
shim: shim,
|
||||
namespace: namespace,
|
||||
}
|
||||
|
Reference in New Issue
Block a user