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
+1 -1
View File
@@ -307,7 +307,7 @@ func TestCreateLabelFromImage(t *testing.T) {
}
func TestCreateHostnameWithNumber(t *testing.T) {
out, _, _ := dockerCmd(t, "run", "-h", "web.0", "busybox", "hostname")
out, _ := dockerCmd(t, "run", "-h", "web.0", "busybox", "hostname")
if strings.TrimSpace(out) != "web.0" {
t.Fatalf("hostname not set, expected `web.0`, got: %s", out)
}