Skip to content

Commit

Permalink
decomposedfs: do not swallow errors when creating nodes (cs3org#2457)
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Feb 14, 2022
1 parent 4f84896 commit a955d62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/do-not-swallow-error.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: do not swallow error

decomposedfs not longer swallows errors when creating a node fails.

https://github.com/cs3org/reva/pull/2457
2 changes: 1 addition & 1 deletion pkg/storage/utils/decomposedfs/tree/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (t *Tree) CreateDir(ctx context.Context, n *node.Node) (err error) {

err = t.createNode(n, owner)
if err != nil {
return nil
return
}

// make child appear in listings
Expand Down

0 comments on commit a955d62

Please sign in to comment.