Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ func getGroupOperations(awsGroups []*aws.Group, googleGroups []*admin.Group) (ad
googleMap[gGroup.Name] = struct{}{}
}

// AWS Groups found and not found in google
// Google Groups found and not found in AWS
for _, gGroup := range googleGroups {
if _, found := awsMap[gGroup.Name]; found {
log.WithField("gGroup", gGroup).Debug("equals")
Expand All @@ -653,7 +653,7 @@ func getGroupOperations(awsGroups []*aws.Group, googleGroups []*admin.Group) (ad
}
}

// Google Groups founds and not in aws
// AWS Groups not found in Google
for _, awsGroup := range awsGroups {
if _, found := googleMap[awsGroup.DisplayName]; !found {
log.WithField("awsGroup", awsGroup).Debug("delete")
Expand Down