File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,9 @@ func LoadFunctionConfig(src *yaml.RNode, api interface{}) error {
176
176
return schemaValidationError
177
177
}
178
178
179
+ // combineErrors produces a CompositeValidationError for the given schemaErr and givenErr.
180
+ // If either is already a CompsiteError, its constituent errors become part of the new
181
+ // composite error. If both given errors are nil, this function returns nil.
179
182
func combineErrors (schemaErr , customErr error ) error {
180
183
combined := validationErrors .CompositeValidationError ()
181
184
if compositeSchemaErr , ok := schemaErr .(* validationErrors.CompositeError ); ok {
@@ -227,7 +230,7 @@ type TemplateProcessor struct {
227
230
PatchTemplates []PatchTemplate
228
231
229
232
// MergeResources, if set to true, will cause the resources in ResourceList.items to be
230
- // will be applied as patches on any matching resources generated by ResourceTemplates.
233
+ // applied as patches on any matching resources generated by ResourceTemplates.
231
234
MergeResources bool
232
235
233
236
// PreProcessFilters provides a hook to manipulate the ResourceList's items or config after
You can’t perform that action at this time.
0 commit comments