Use stderr instead of logrus for CLI error messages

Signed-off-by: Doug Davis <dug@us.ibm.com>
Upstream-commit: 0024935f641ab596732f9162d3eab795bbc2ae06
Component: engine
This commit is contained in:
Doug Davis
2015-05-12 17:22:41 -07:00
parent fe20784d8c
commit 2e83148ffd
11 changed files with 71 additions and 25 deletions
@@ -2051,7 +2051,7 @@ func (s *DockerSuite) TestRunWithBadDevice(c *check.C) {
if err == nil {
c.Fatal("Run should fail with bad device")
}
expected := `\"/etc\": not a device node`
expected := `"/etc": not a device node`
if !strings.Contains(out, expected) {
c.Fatalf("Output should contain %q, actual out: %q", expected, out)
}