From 841405d9859e2566f883c672958b398d73b1b87b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 8 Sep 2022 12:13:44 +0000 Subject: [PATCH] add missing share storage space id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- changelog/unreleased/add-missing-spaceid.md | 3 +++ .../services/sharesstorageprovider/sharesstorageprovider.go | 1 + 2 files changed, 4 insertions(+) create mode 100644 changelog/unreleased/add-missing-spaceid.md diff --git a/changelog/unreleased/add-missing-spaceid.md b/changelog/unreleased/add-missing-spaceid.md new file mode 100644 index 0000000000..4cdbfee1f8 --- /dev/null +++ b/changelog/unreleased/add-missing-spaceid.md @@ -0,0 +1,3 @@ +Bugfix: Add spaceid when listing share jail mount points + +https://github.com/cs3org/reva/pull/3206 diff --git a/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go b/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go index 8d1212b9be..ad825ba599 100644 --- a/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go +++ b/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go @@ -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)