Merge pull request #14958 from LK4D4/fix_valid
Fix option validation for log-drivers without it Upstream-commit: 3a07e7d115626a4658a6c0d222c467c033cf66c3 Component: engine
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user