mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix error message in max-file validation
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
aef15ffc5d
commit
cde607108b
1 changed files with 1 additions and 1 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue