mirror of
https://github.com/containers/podman
synced 2024-10-21 09:45:32 +00:00
buffer errChan
Signed-off-by: Peter Hunt <pehunt@redhat.com>
This commit is contained in:
parent
a4041dafae
commit
74ab273e91
|
@ -1068,7 +1068,7 @@ func (r *LocalRuntime) ExecContainer(ctx context.Context, cli *cliconfig.ExecVal
|
|||
}
|
||||
|
||||
func configureVarlinkAttachStdio(reader *bufio.Reader, writer *bufio.Writer, stdin *os.File, stdout *os.File, oldTermState *term.State, resize chan remotecommand.TerminalSize, ecChan chan int) chan error {
|
||||
var errChan chan error
|
||||
errChan := make(chan error, 1)
|
||||
// These are the special writers that encode input from the client.
|
||||
varlinkStdinWriter := virtwriter.NewVirtWriteCloser(writer, virtwriter.ToStdin)
|
||||
varlinkResizeWriter := virtwriter.NewVirtWriteCloser(writer, virtwriter.TerminalResize)
|
||||
|
|
Loading…
Reference in a new issue