fix(apiserver): append errors correctly from options (#93434)
This commit is contained in:
@@ -144,7 +144,7 @@ func (o *APIServerOptions) Validate() error {
|
||||
}
|
||||
|
||||
if errs := o.Options.Validate(); len(errs) > 0 {
|
||||
errors = append(errors, errors...)
|
||||
errors = append(errors, errs...)
|
||||
}
|
||||
|
||||
return utilerrors.NewAggregate(errors)
|
||||
|
||||
Reference in New Issue
Block a user