mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 15:28:35 +00:00
fix warning messages
Use log.Warnf instead of log.Infof, and remove redundant `WARNING` prefix. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ func TestJobStderrString(t *testing.T) {
|
||||
eng := New()
|
||||
// FIXME: test multiple combinations of output and status
|
||||
eng.Register("say_something_in_stderr", func(job *Job) Status {
|
||||
job.Errorf("Warning, something might happen\nHere it comes!\nOh no...\nSomething happened\n")
|
||||
job.Errorf("Something might happen\nHere it comes!\nOh no...\nSomething happened\n")
|
||||
return StatusOK
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user