mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +00:00
Merge pull request #14958 from LK4D4/fix_valid
Fix option validation for log-drivers without it
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