summaryrefslogtreecommitdiffhomepage
path: root/runsc/console
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-17 23:01:28 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-17 23:01:28 +0000
commitccc4fc176ceef3215731e02a1c32f7c8b7292803 (patch)
tree280fc97d28fe4da28246ae83b41b005ac447c4a6 /runsc/console
parent557ece2c244d7fc1481adf96b609fb04da35aa79 (diff)
parente2d9a68eef9f4d468a2983ab500ea2ab25f00e86 (diff)
Merge release-20201109.0-61-ge2d9a68ee (automated)
Diffstat (limited to 'runsc/console')
-rw-r--r--runsc/console/console.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/console/console.go b/runsc/console/console.go
index dbb88e117..b36028792 100644
--- a/runsc/console/console.go
+++ b/runsc/console/console.go
@@ -24,8 +24,8 @@ import (
"golang.org/x/sys/unix"
)
-// NewWithSocket creates pty master/replica pair, sends the master FD over the given
-// socket, and returns the replica.
+// NewWithSocket creates pty master/replica pair, sends the master FD over the
+// given socket, and returns the replica.
func NewWithSocket(socketPath string) (*os.File, error) {
// Create a new pty master and replica.
ptyMaster, ptyReplica, err := pty.Open()