fix ks account options

This commit is contained in:
Jeff
2019-09-25 14:50:58 +08:00
committed by zryfish
parent d54a8a4675
commit aee01ccd0b
3 changed files with 101 additions and 31 deletions

View File

@@ -0,0 +1,11 @@
package options
func (s *ServerRunOptions) Validate() []error {
errs := []error{}
errs = append(errs, s.KubernetesOptions.Validate()...)
errs = append(errs, s.GenericServerRunOptions.Validate()...)
errs = append(errs, s.LdapOptions.Validate()...)
return errs
}