mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
Fix error message in max-file validation
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
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