Skip to content

Commit

Permalink
fix reva build (#2865)
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <jkoberg@owncloud.com>
  • Loading branch information
kobergj authored May 13, 2022
1 parent 5b97700 commit 4f179b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/utils/decomposedfs/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func (upload *fileUpload) FinishUpload(ctx context.Context) (err error) {

var oldSize uint64
if n.ID != "" {
old, _ := node.ReadNode(ctx, upload.fs.lu, spaceID, n.ID)
old, _ := node.ReadNode(ctx, upload.fs.lu, spaceID, n.ID, false)
oldSize = uint64(old.Blobsize)
}
_, err = node.CheckQuota(n.SpaceRoot, n.ID != "", oldSize, uint64(fi.Size()))
Expand Down

0 comments on commit 4f179b7

Please sign in to comment.