Merge pull request #15650 from LK4D4/fix_max_file_error

Fix error message in max-file validation
This commit is contained in:
Brian Goff 2015-08-17 20:27:12 -04:00
commit fd2e945d15
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{