fix(apiserver): append errors correctly from options (#93434)

This commit is contained in:
Jean-Philippe Quéméner 2024-09-18 15:38:59 +02:00 committed by GitHub
parent 6ee7f7dc79
commit 72bfa624ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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