From 1b847ea21677da0984a30964c91e196dba1f716d Mon Sep 17 00:00:00 2001 From: Arnaud Delcasse Date: Tue, 17 Jan 2023 09:23:16 +0100 Subject: [PATCH] fix small issue in go mod --- go.mod | 2 +- services/groupsmanagement.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 66b43ee..9173408 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.18 // replace git.coopgo.io/coopgo-platform/mobility-accounts => ../../coopgo-platform/mobility-accounts/ -replace git.coopgo.io/coopgo-platform/groups-management => ../../coopgo-platform/groups-management/ +// replace git.coopgo.io/coopgo-platform/groups-management => ../../coopgo-platform/groups-management/ // replace git.coopgo.io/coopgo-platform/fleets => ../../coopgo-platform/fleets/ diff --git a/services/groupsmanagement.go b/services/groupsmanagement.go index 74a6736..72a3715 100644 --- a/services/groupsmanagement.go +++ b/services/groupsmanagement.go @@ -28,7 +28,9 @@ func NewGroupsManagementService(groupsManagementDial string) (*GroupsManagementS func (s *ServicesHandler) GetGroupsMap() (groups map[string]storage.Group, err error) { groups = map[string]storage.Group{} - request := &groupsmanagement.GetGroupsRequest{} + request := &groupsmanagement.GetGroupsRequest{ + Namespaces: []string{"parcoursmob_organizations"}, + } resp, err := s.GRPC.GroupsManagement.GetGroups(context.TODO(), request) if err == nil { for _, group := range resp.Groups {