Skip to content

Commit

Permalink
Update pkg/storage/utils/decomposedfs/tree/tree.go
Browse files Browse the repository at this point in the history
Co-authored-by: David Christofas <dchristofas@posteo.de>
  • Loading branch information
butonic and C0rby authored Aug 13, 2021
1 parent c5c5cda commit cafb6b8
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -171,7 +171,7 @@ func (t *Tree) Setup(owner string) error {

// linkSpace creates a new symbolic link for a space with the given type st, and node id
func (t *Tree) linkSpace(spaceType, spaceID, nodeID string) {
spacesPath := filepath.Join(t.root, "spaces/"+spaceType, spaceID)
spacesPath := filepath.Join(t.root, "spaces", spaceType, spaceID)
expectedTarget := "../../nodes/" + nodeID
linkTarget, err := os.Readlink(spacesPath)
if errors.Is(err, os.ErrNotExist) {
Expand Down

0 comments on commit cafb6b8

Please sign in to comment.