Fix constructing the handle

This commit is contained in:
Abhishek Chanda 2015-09-29 15:53:42 -07:00
parent b6b7d9e875
commit 02eb3659c9

View file

@ -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),