@@ -174,9 +174,9 @@ func (w *mergingWalker) visitListItems(t *schema.List, lhs, rhs value.List) (err
174
174
}
175
175
out := make ([]interface {}, 0 , outLen )
176
176
177
- lhsOrder , observedLHS , lhsErrs := w .visitListOperand (t , lhs )
177
+ lhsOrder , observedLHS , lhsErrs := w .indexListPathElements (t , lhs )
178
178
errs = append (errs , lhsErrs ... )
179
- rhsOrder , observedRHS , rhsErrs := w .visitListOperand (t , rhs )
179
+ rhsOrder , observedRHS , rhsErrs := w .indexListPathElements (t , rhs )
180
180
errs = append (errs , rhsErrs ... )
181
181
seen := fieldpath .MakePathElementSet (outLen )
182
182
@@ -240,7 +240,7 @@ func (w *mergingWalker) visitListItems(t *schema.List, lhs, rhs value.List) (err
240
240
return errs
241
241
}
242
242
243
- func (w * mergingWalker ) visitListOperand (t * schema.List , list value.List ) ([]fieldpath.PathElement , fieldpath.PathElementValueMap , ValidationErrors ) {
243
+ func (w * mergingWalker ) indexListPathElements (t * schema.List , list value.List ) ([]fieldpath.PathElement , fieldpath.PathElementValueMap , ValidationErrors ) {
244
244
var errs ValidationErrors
245
245
length := 0
246
246
if list != nil {
0 commit comments