Removed unnecessary error output from dockerCmd

Changed method declaration. Fixed all calls to dockerCmd
method to reflect the change.

resolves #12355

Signed-off-by: bobby abbott <ttobbaybbob@gmail.com>
This commit is contained in:
bobby abbott
2015-04-17 09:11:14 -07:00
parent 24af878358
commit 621b601b3c
16 changed files with 127 additions and 176 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ func TestPause(t *testing.T) {
defer unpauseAllContainers()
name := "testeventpause"
out, _, _ := dockerCmd(t, "images", "-q")
out, _ := dockerCmd(t, "images", "-q")
image := strings.Split(out, "\n")[0]
dockerCmd(t, "run", "-d", "--name", name, image, "top")
@@ -55,7 +55,7 @@ func TestPauseMultipleContainers(t *testing.T) {
"testpausewithmorecontainers1",
"testpausewithmorecontainers2",
}
out, _, _ := dockerCmd(t, "images", "-q")
out, _ := dockerCmd(t, "images", "-q")
image := strings.Split(out, "\n")[0]
for _, name := range containers {
dockerCmd(t, "run", "-d", "--name", name, image, "top")