From cde607108badc84ddb6a7e2d2f75ce31be9967a5 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Mon, 17 Aug 2015 15:34:39 -0700 Subject: [PATCH] Fix error message in max-file validation Signed-off-by: Alexander Morozov --- daemon/logger/jsonfilelog/jsonfilelog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/logger/jsonfilelog/jsonfilelog.go b/daemon/logger/jsonfilelog/jsonfilelog.go index b45407341b..38ff7171b3 100644 --- a/daemon/logger/jsonfilelog/jsonfilelog.go +++ b/daemon/logger/jsonfilelog/jsonfilelog.go @@ -74,7 +74,7 @@ func New(ctx logger.Context) (logger.Logger, error) { return nil, err } if maxFiles < 1 { - return nil, fmt.Errorf("max-files cannot be less than 1") + return nil, fmt.Errorf("max-file cannot be less than 1") } } return &JSONFileLogger{