mirror of https://github.com/docker/docs.git
Merge pull request #14958 from LK4D4/fix_valid
Fix option validation for log-drivers without it
This commit is contained in:
commit
3a07e7d115
|
@ -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…
Reference in New Issue