Fix constructing the handle
This commit is contained in:
parent
b6b7d9e875
commit
02eb3659c9
|
@ -122,7 +122,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
|
||||||
}
|
}
|
||||||
d.logger.Printf("[DEBUG] Started ACI: %q", name)
|
d.logger.Printf("[DEBUG] Started ACI: %q", name)
|
||||||
h := &rktHandle{
|
h := &rktHandle{
|
||||||
proc: cmd.Process,
|
proc: acmd.Process,
|
||||||
name: name,
|
name: name,
|
||||||
doneCh: make(chan struct{}),
|
doneCh: make(chan struct{}),
|
||||||
waitCh: make(chan error, 1),
|
waitCh: make(chan error, 1),
|
||||||
|
|
Loading…
Reference in a new issue