Merge pull request #15650 from LK4D4/fix_max_file_error
Fix error message in max-file validation Upstream-commit: fd2e945d155e7506ece7f3ada867b06a2eff7656 Component: engine
This commit is contained in:
@ -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{
|
||||
|
||||
Reference in New Issue
Block a user