Integration: Align empty IO func on Windows
I think NullIO is fine on Windows now. We have it as an option in ctr and it's used for the pod sandbox container in CRI. Lets see if CI agrees.. Signed-off-by: Danny Canter <danny@dcantah.dev>
This commit is contained in:
parent
13498a3258
commit
f82d9b7991
@ -53,11 +53,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func empty() cio.Creator {
|
func empty() cio.Creator {
|
||||||
// TODO (@mlaventure) windows searches for pipes
|
|
||||||
// when none are provided
|
|
||||||
if runtime.GOOS == "windows" {
|
|
||||||
return cio.NewCreator(cio.WithStdio, cio.WithTerminal)
|
|
||||||
}
|
|
||||||
return cio.NullIO
|
return cio.NullIO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user