mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-22 19:19:18 -05:00
[full-ci] Bump Reva version (#3779)
* use custom reva to check changes Signed-off-by: jkoberg <jkoberg@owncloud.com> * don't query quota and children when space is disabled Signed-off-by: jkoberg <jkoberg@owncloud.com> * final touches Signed-off-by: jkoberg <jkoberg@owncloud.com> * update expected failures Signed-off-by: jkoberg <jkoberg@owncloud.com> * fix changelog typo Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -401,10 +401,14 @@ func (g Graph) formatDrives(ctx context.Context, baseURL *url.URL, storageSpaces
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
res.Special = g.GetExtendedSpaceProperties(ctx, baseURL, storageSpace)
|
||||
res.Quota, err = g.getDriveQuota(ctx, storageSpace)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
// can't access disabled space
|
||||
if utils.ReadPlainFromOpaque(storageSpace.Opaque, "trashed") != "trashed" {
|
||||
res.Special = g.GetExtendedSpaceProperties(ctx, baseURL, storageSpace)
|
||||
res.Quota, err = g.getDriveQuota(ctx, storageSpace)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
responses = append(responses, res)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user