mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #15650 from LK4D4/fix_max_file_error
Fix error message in max-file validation
This commit is contained in:
commit
fd2e945d15
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ func New(ctx logger.Context) (logger.Logger, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if maxFiles < 1 {
|
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{
|
return &JSONFileLogger{
|
||||||
|
|
Loading…
Add table
Reference in a new issue