Fix error message in max-file validation

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-08-17 15:34:39 -07:00
parent aef15ffc5d
commit cde607108b
1 changed files with 1 additions and 1 deletions

View File

@ -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{