summaryrefslogtreecommitdiff
path: root/vendor/github.com/moby/term/windows
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-03-26 11:23:46 -0400
committerMatthew Heon <mheon@redhat.com>2021-03-29 11:06:03 -0400
commite7dc66d832d44eac11cb341f09844850e3e0224d (patch)
treee836a3d9a5ff60c9019e3daf2601d3c922af2a38 /vendor/github.com/moby/term/windows
parent57e0d8f2930690de69c690c41e30abaa2cdb3776 (diff)
downloadpodman-e7dc66d832d44eac11cb341f09844850e3e0224d.tar.gz
podman-e7dc66d832d44eac11cb341f09844850e3e0224d.tar.bz2
podman-e7dc66d832d44eac11cb341f09844850e3e0224d.zip
[NO TESTS NEEDED] Vendor in containers/buildah v1.20.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> <MH: Fixed cherry-pick conflicts. Re-ran vendor.> Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'vendor/github.com/moby/term/windows')
-rw-r--r--vendor/github.com/moby/term/windows/console.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/moby/term/windows/console.go b/vendor/github.com/moby/term/windows/console.go
index 01fdc0f2a..993694ddc 100644
--- a/vendor/github.com/moby/term/windows/console.go
+++ b/vendor/github.com/moby/term/windows/console.go
@@ -29,7 +29,7 @@ func GetHandleInfo(in interface{}) (uintptr, bool) {
// IsConsole returns true if the given file descriptor is a Windows Console.
// The code assumes that GetConsoleMode will return an error for file descriptors that are not a console.
-// Deprecated: use golang.org/x/sys/windows.GetConsoleMode() or golang.org/x/crypto/ssh/terminal.IsTerminal()
+// Deprecated: use golang.org/x/sys/windows.GetConsoleMode() or golang.org/x/term.IsTerminal()
var IsConsole = isConsole
func isConsole(fd uintptr) bool {