Skip to content

Commit

Permalink
fix fileid
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic committed Feb 17, 2022
1 parent 63c0dc9 commit 0b98a42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/storage/utils/decomposedfs/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,7 @@ func (n *Node) AsResourceInfo(ctx context.Context, rp *provider.ResourcePermissi
// nodeType = provider.ResourceType_RESOURCE_TYPE_REFERENCE
}

// TODO ensure we always have a space root
id := &provider.ResourceId{StorageId: n.SpaceRoot.Name, OpaqueId: n.ID}
id := &provider.ResourceId{StorageId: n.SpaceID, OpaqueId: n.ID}

if returnBasename {
fn = n.Name
Expand Down

0 comments on commit 0b98a42

Please sign in to comment.