From b89578a079326b0df4a9246513a8a7e6f3fd9adb Mon Sep 17 00:00:00 2001 From: Igor Karpukhin Date: Wed, 8 Jan 2025 15:18:07 +0100 Subject: [PATCH] Fixed lint --- internal/controller/atlasproject/custom_roles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]