Fix docs.
This commit is contained in:
parent
fe0dfbfe4c
commit
cf113e80c2
@ -515,6 +515,7 @@ func (d *Driver) SignalTask(taskID string, signal string) error {
|
||||
return handle.signal(d.ctxContainerd, sig)
|
||||
}
|
||||
|
||||
// ExecTaskStreaming returns the result of executing the given command inside a task.
|
||||
func (d *Driver) ExecTaskStreaming(ctx context.Context, taskID string, opts *drivers.ExecOptions) (*drivers.ExitResult, error) {
|
||||
handle, ok := d.tasks.Get(taskID)
|
||||
if !ok {
|
||||
|
@ -82,6 +82,7 @@ func (h *taskHandle) run(ctxContainerd context.Context) {
|
||||
h.task.Start(ctxContainerd)
|
||||
}
|
||||
|
||||
// exec launches a new process in a running container.
|
||||
func (h *taskHandle) exec(ctx, ctxContainerd context.Context, taskID string, opts *drivers.ExecOptions) (*drivers.ExitResult, error) {
|
||||
defer opts.Stdout.Close()
|
||||
defer opts.Stderr.Close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user