mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
Merge pull request #15650 from LK4D4/fix_max_file_error
Fix error message in max-file validation
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