add missing errorcheck
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
committed by
Jörn Friedrich Dreyer
parent
ab338884c6
commit
b529eb8335
@@ -142,6 +142,9 @@ func (cache IdentityCache) GetGroup(ctx context.Context, groupID string) (libreg
|
||||
var group libregraph.Group
|
||||
if item := cache.groups.Get(groupID); item == nil {
|
||||
gatewayClient, err := cache.gatewaySelector.Next()
|
||||
if err != nil {
|
||||
return group, errorcode.New(errorcode.GeneralException, err.Error())
|
||||
}
|
||||
cs3GroupID := &cs3Group.GroupId{
|
||||
OpaqueId: groupID,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user