mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-21 08:50:20 +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:
11
tests/vendor/github.com/sirupsen/logrus/terminal_check_solaris.go
generated
vendored
Normal file
11
tests/vendor/github.com/sirupsen/logrus/terminal_check_solaris.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
package logrus
|
||||
|
||||
import (
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// IsTerminal returns true if the given file descriptor is a terminal.
|
||||
func isTerminal(fd int) bool {
|
||||
_, err := unix.IoctlGetTermio(fd, unix.TCGETA)
|
||||
return err == nil
|
||||
}
|
Reference in New Issue
Block a user