Skip to content

Commit 3ee7b71

Browse files
authored
Added UT for reconcileDelete function (#2046)
1 parent 03f5c5a commit 3ee7b71

File tree

2 files changed

+432
-6
lines changed

2 files changed

+432
-6
lines changed

controllers/ibmpowervscluster_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ func (r *IBMPowerVSClusterReconciler) reconcileDelete(ctx context.Context, clust
384384

385385
clusterScope.Info("Deleting VPC security group")
386386
if err := clusterScope.DeleteVPCSecurityGroups(); err != nil {
387-
allErrs = append(allErrs, errors.Wrapf(err, "failed to delete VPC subnet"))
387+
allErrs = append(allErrs, errors.Wrapf(err, "failed to delete VPC security group"))
388388
}
389389

390390
clusterScope.Info("Deleting VPC subnet")

0 commit comments

Comments
 (0)