Remove unused conditions

[ZITADOPER-1]
This commit is contained in:
Haim Kortovich
2024-05-20 18:20:44 -05:00
parent 93944df40b
commit 7be04edf59
3 changed files with 30 additions and 67 deletions

View File

@@ -369,6 +369,7 @@ func (wr *wrappedMachineUserReconciler) reconcileUserGrants(ctx context.Context,
for _, existingGrantedProject := range grantedProjects.Result {
if existingGrantedProject.ProjectId == userGrantedProject.Status.ProjectId {
existingProjectGrant = existingGrantedProject
break
}
}
if existingProjectGrant == nil {