mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix golint warnings for integration-cli
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
757c4f0d5c
commit
6b3c928140
17 changed files with 186 additions and 183 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue