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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user