mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +00:00
Use stderr instead of logrus for CLI error messages
Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
@@ -907,8 +907,8 @@ func (s *DockerDaemonSuite) TestDaemonLoggingDriverNoneLogsError(c *check.C) {
|
||||
if err == nil {
|
||||
c.Fatalf("Logs should fail with \"none\" driver")
|
||||
}
|
||||
if !strings.Contains(out, `\"logs\" command is supported only for \"json-file\" logging driver`) {
|
||||
c.Fatalf("There should be error about non-json-file driver, got %s", out)
|
||||
if !strings.Contains(out, `"logs" command is supported only for "json-file" logging driver`) {
|
||||
c.Fatalf("There should be error about non-json-file driver, got: %s", out)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user