1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #14958 from LK4D4/fix_valid

Fix option validation for log-drivers without it
This commit is contained in:
David Calavera 2015-07-24 09:57:36 -07:00
commit 3a07e7d115

View file

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