We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c56ef5 commit 52f5ac0Copy full SHA for 52f5ac0
typed/remove.go
@@ -92,7 +92,7 @@ func (w *removingWalker) doList(t *schema.List) (errs ValidationErrors) {
92
if w.toRemove.Has(path) {
93
continue
94
}
95
- if !w.toRemove.WithPrefix(pe).Empty() {
+ if itemInToRemoveSubpaths {
96
item = removeItemsWithSchema(item, w.toRemove.WithPrefix(pe), w.schema, t.ElementType, w.shouldExtract)
97
98
newItems = append(newItems, item.Unstructured())
0 commit comments