Browse Source

Fix error message in max-file validation

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Alexander Morozov 10 years ago
parent
commit
cde607108b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      daemon/logger/jsonfilelog/jsonfilelog.go

+ 1 - 1
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{