Fix logging for cluster_env_test.

pull/153/head
dlorenc 2016-06-01 17:21:05 -07:00
parent ecc5d5950e
commit f5d55d2ef5
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ func TestClusterEnv(t *testing.T) {
}
path, err := exec.LookPath("docker")
cmd := exec.Command(path, "ps")
stdout, err := cmd.Output()
output, err := cmd.CombinedOutput()
if err != nil {
t.Fatalf("Error running command: %s. Output: %s", "docker ps", err, stdout)
t.Fatalf("Error running command: %s. Error: %s Output: %s", "docker ps", err, output)
}
}