mirror of
https://github.com/moby/moby.git
synced 2025-12-17 00:02:44 +03:00
Fix golint warnings for integration-cli
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
@@ -16,9 +16,9 @@ import (
|
||||
// regression test for #12546
|
||||
func (s *DockerSuite) TestExecInteractiveStdinClose(c *check.C) {
|
||||
out, _ := dockerCmd(c, "run", "-itd", "busybox", "/bin/cat")
|
||||
contId := strings.TrimSpace(out)
|
||||
contID := strings.TrimSpace(out)
|
||||
|
||||
cmd := exec.Command(dockerBinary, "exec", "-i", contId, "echo", "-n", "hello")
|
||||
cmd := exec.Command(dockerBinary, "exec", "-i", contID, "echo", "-n", "hello")
|
||||
p, err := pty.Start(cmd)
|
||||
if err != nil {
|
||||
c.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user