Skip to content

Commit

Permalink
remove unneccessary line
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <jkoberg@owncloud.com>
  • Loading branch information
kobergj committed Apr 4, 2022
1 parent 6547b7b commit c29114c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions changelog/unreleased/minor-cleanup.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Bugfix: minor cleanup

- The `chunk_folder` config option is unused
- Prevent a panic when looking up spaces
- The `chunk_folder` config option is unused
- Prevent a panic when looking up spaces

https://github.com/cs3org/reva/pull/2668
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ func LookUpStorageSpacesForPathWithChildren(ctx context.Context, client gateway.
if err != nil {
return nil, nil, err
}
if lSSRes == nil {
return nil, &rpc.Status{Code: rpc.Code_CODE_INTERNAL, Message: "no error but result was nil"}, nil
}
if lSSRes.Status.GetCode() != rpc.Code_CODE_OK {
return nil, lSSRes.Status, err
}
Expand Down

0 comments on commit c29114c

Please sign in to comment.