Skip to content

Commit

Permalink
Update pkg/storage/utils/decomposedfs/decomposedfs.go
Browse files Browse the repository at this point in the history
Co-authored-by: kobergj <juliankoberg@googlemail.com>
  • Loading branch information
2403905 and kobergj authored Oct 10, 2024
1 parent 7fa40f3 commit ba442e7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/storage/utils/decomposedfs/decomposedfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1250,10 +1250,7 @@ func (fs *Decomposedfs) EmptyRecycle(ctx context.Context, ref *provider.Referenc

func (fs *Decomposedfs) getNodePath(ctx context.Context, n *node.Node, perms *provider.ResourcePermissions) (string, error) {
hp := func(n *node.Node) bool {
if perms == nil {
return false
}
return perms.GetPath
return perms.GetGetPath()
}
return fs.lu.Path(ctx, n, hp)
}
Expand Down

0 comments on commit ba442e7

Please sign in to comment.