diff --git a/internal/controller/atlasproject/custom_roles.go b/internal/controller/atlasproject/custom_roles.go index 20e11029c8..eea53f9985 100644 --- a/internal/controller/atlasproject/custom_roles.go +++ b/internal/controller/atlasproject/custom_roles.go @@ -55,7 +55,7 @@ func findRolesToDelete(prevSpec, akoRoles, atlasRoles []customroles.CustomRole) lastAppliedRolesMap := mapCustomRolesByName(prevSpec) akoRolesMap := mapCustomRolesByName(akoRoles) atlasRolesMap := mapCustomRolesByName(atlasRoles) - + for atlasIx, atlasRole := range atlasRolesMap { _, inAKO := akoRolesMap[atlasIx] _, inLastApplied := lastAppliedRolesMap[atlasIx]