Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Oct 18, 2021
1 parent b09c230 commit db56cda
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/storage/utils/decomposedfs/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ func (lu *Lookup) NodeFromID(ctx context.Context, id *provider.ResourceId) (n *n
return nil, err
}

err = lu.FindStorageSpaceRoot(n)
if err != nil {
return nil, err
}
return n, err
return n, lu.FindStorageSpaceRoot(n)
}

// Path returns the path for node
Expand Down

0 comments on commit db56cda

Please sign in to comment.