containerd/cio
Sebastiaan van Stijn 7a468a3f3f
cio.copyIO: refactor to use cio.Close() (windows)
Use the existing `.Close()` method instead of implementing the same
logic in this function.

The defer sets `cios` to `nil` if an error occurred to preserve the
existing behavior.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-01 11:22:08 +01:00
..
io_test.go restart plugin: support binary log uri 2020-06-10 00:09:24 +08:00
io_unix_test.go cio: should not open fifo for stderr if terminal 2020-07-02 11:49:31 +08:00
io_unix.go cio: openFifos() use named return variables to use in defer() 2021-02-01 11:17:54 +01:00
io_windows_test.go vendor: update gotest.tools v3.0.2 2020-02-28 17:47:20 +01:00
io_windows.go cio.copyIO: refactor to use cio.Close() (windows) 2021-02-01 11:22:08 +01:00
io.go cio: FIFOSet.Close() check if FIFOSet is nill to prevent NPE 2021-02-01 11:17:51 +01:00