fix(apiserver): append errors correctly from options (#93434)
This commit is contained in:
1 parent
6ee7f7dc79
commit
72bfa624ce
1 file changed
+1
-1
@@ -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