mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix option validation for log-drivers without it
There is no option validation for "journald" log-driver, so it makes no sense to fail in that case. Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
1e40915e9d
commit
d68c55bc72
1 changed files with 1 additions and 1 deletions
|
@ -115,5 +115,5 @@ func ValidateLogOpts(name string, cfg map[string]string) error {
|
|||
if l != nil {
|
||||
return l(cfg)
|
||||
}
|
||||
return fmt.Errorf("Log Opts are not valid for [%s] driver", name)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue