fix small issue in go mod
This commit is contained in:
parent
0c0a9d0496
commit
1b847ea216
2
go.mod
2
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/
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue