File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -371,8 +371,10 @@ func (r *IBMVPCClusterReconciler) reconcileDelete(clusterScope *scope.ClusterSco
371371 return handleFinalizerRemoval (clusterScope )
372372}
373373
374- func (r * IBMVPCClusterReconciler ) reconcileDeleteV2 (_ * scope.VPCClusterScope ) (ctrl.Result , error ) {
375- return ctrl.Result {}, fmt .Errorf ("not implemented" )
374+ func (r * IBMVPCClusterReconciler ) reconcileDeleteV2 (clusterScope * scope.VPCClusterScope ) (ctrl.Result , error ) { //nolint:unparam
375+ clusterScope .Info ("Delete cluster is not implemented for reconcile v2" )
376+ controllerutil .RemoveFinalizer (clusterScope .IBMVPCCluster , infrav1 .ClusterFinalizer )
377+ return ctrl.Result {}, nil
376378}
377379
378380func (r * IBMVPCClusterReconciler ) getOrCreate (clusterScope * scope.ClusterScope ) (* vpcv1.LoadBalancer , error ) {
You can’t perform that action at this time.
0 commit comments