Skip to content

Commit

Permalink
Merge pull request #3206 from butonic/add-missing-spaceid
Browse files Browse the repository at this point in the history
add missing share storage space id
  • Loading branch information
micbar authored Sep 8, 2022
2 parents 7bea458 + 841405d commit de8debc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/unreleased/add-missing-spaceid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugfix: Add spaceid when listing share jail mount points

https://github.com/cs3org/reva/pull/3206
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ func (s *service) ListContainer(ctx context.Context, req *provider.ListContainer
info := statRes.Info
info.Id = &provider.ResourceId{
StorageId: utils.ShareStorageProviderID,
SpaceId: utils.ShareStorageSpaceID,
OpaqueId: share.Share.Id.OpaqueId,
}
info.Path = filepath.Base(share.MountPoint.Path)
Expand Down

0 comments on commit de8debc

Please sign in to comment.