mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +00:00
Merge pull request #13106 from duglin/HumanizeCliErrors
Use stderr instead of logrus for CLI error messages
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