Skip to content

Commit 810870e

Browse files
steilerhansthienpondt
authored andcommitted
remove additionsl pathslice attribute, calculate it from sdcpb.path
1 parent 27a6fb9 commit 810870e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/tree/sharedEntryAttributes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ func (s *sharedEntryAttributes) remainsToExist() bool {
610610
// getRegularDeletes performs deletion calculation on elements that have a schema attached.
611611
func (s *sharedEntryAttributes) getRegularDeletes(deletes []types.DeleteEntry, aggregate bool) ([]types.DeleteEntry, error) {
612612
var err error
613+
613614
if s.shouldDelete() && !s.IsRoot() && len(s.GetSchemaKeys()) == 0 {
614615
return append(deletes, s), nil
615616
}

0 commit comments

Comments
 (0)