Skip to content

Commit

Permalink
Update sync.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPates committed Jun 21, 2024
1 parent f76b11f commit e5a0b8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ func (s *syncGSuite) getGoogleGroupsAndUsers(queryGroups string, queryUsers stri
// getGroupOperations returns the groups of AWS that must be added, deleted and are equals
func getGroupOperations(awsGroups []*aws.Group, googleGroups []*admin.Group) (add []*aws.Group, delete []*aws.Group, equals []*aws.Group) {

log.Debug('getGroupOperations()')
log.Debug("getGroupOperations()")
awsMap := make(map[string]*aws.Group)
googleMap := make(map[string]struct{})

Expand Down Expand Up @@ -666,7 +666,7 @@ func getGroupOperations(awsGroups []*aws.Group, googleGroups []*admin.Group) (ad
// getUserOperations returns the users of AWS that must be added, deleted, updated and are equals
func getUserOperations(awsUsers []*aws.User, googleUsers []*admin.User) (add []*aws.User, delete []*aws.User, update []*aws.User, equals []*aws.User) {

log.Debug('getUserOperations()')
log.Debug("getUserOperations()")
awsMap := make(map[string]*aws.User)
googleMap := make(map[string]struct{})

Expand Down Expand Up @@ -712,7 +712,7 @@ func getUserOperations(awsUsers []*aws.User, googleUsers []*admin.User) (add []*
// groupUsersOperations returns the groups and its users of AWS that must be delete from these groups and what are equals
func getGroupUsersOperations(gGroupsUsers map[string][]*admin.User, awsGroupsUsers map[string][]*aws.User) (delete map[string][]*aws.User, equals map[string][]*aws.User) {

log.Debug('getGroupUsersOperations()')
log.Debug("getGroupUsersOperations()")
mbG := make(map[string]map[string]struct{})

// get user in google groups that are in aws groups and
Expand Down

0 comments on commit e5a0b8e

Please sign in to comment.