mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 21:51:33 +00:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user