Skip to content

Commit

Permalink
CLOUDP-188897: return after deployment removal (#1030)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Vazquez <jose.vazquez@mongodb.com>
  • Loading branch information
josvazg authored Jul 11, 2023
1 parent 327e776 commit 84a48d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/controller/atlasdeployment/atlasdeployment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,8 @@ func (r *AtlasDeploymentReconciler) Reconcile(context context.Context, req ctrl.
log.Errorw("failed to remove finalizer", "error", err)
return result.ReconcileResult(), nil
}
} else {
return result.ReconcileResult(), nil
}
return result.ReconcileResult(), nil
}

if deployment.IsLegacyDeployment() {
Expand Down

0 comments on commit 84a48d5

Please sign in to comment.