Skip to content

Commit 3ca42fd

Browse files
author
Ariel Kass
committed
fix compilation issue
Signed-off-by: Ariel Kass <[email protected]>
1 parent 6ddc9e1 commit 3ca42fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/volumereplication_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func (r *VolumeReplicationReconciler) Reconcile(ctx context.Context, req ctrl.Re
210210
// check if the object is being deleted
211211
if instance.GetDeletionTimestamp().IsZero() {
212212
err = r.addFinalizerToVR(ctx, logger, instance)
213-
err != nil {
213+
if err != nil {
214214
logger.Error(err, "Failed to add VolumeReplication finalizer")
215215

216216
return reconcile.Result{}, err

0 commit comments

Comments
 (0)