mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-21 00:38:06 +00:00
tests: Run go mod vendor
`go mod tidy` was a no-op. Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
This commit is contained in:
13
tests/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go
generated
vendored
Normal file
13
tests/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// +build darwin dragonfly freebsd netbsd openbsd
|
||||
// +build !js
|
||||
|
||||
package logrus
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
const ioctlReadTermios = unix.TIOCGETA
|
||||
|
||||
func isTerminal(fd int) bool {
|
||||
_, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
|
||||
return err == nil
|
||||
}
|
Reference in New Issue
Block a user