1
0
Fork 0
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:
Alexander Morozov 2015-08-17 15:34:39 -07:00
parent aef15ffc5d
commit cde607108b

View file

@ -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{