Skip to content

Commit

Permalink
add missing errorcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Richter <[email protected]>
  • Loading branch information
dragonchaser authored and butonic committed Jun 24, 2024
1 parent fee9855 commit 2cd1147
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/graph/pkg/identity/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 2cd1147

Please sign in to comment.